How can the properties of a constituent control be exposed using Visual Basic project?
Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.
How can the properties of a constituent control be exposed using Visual Basic project?
Rating:
The properties of a constituent control can be exposed by the following ways:
- Creating a public property in a user control.
- Using the getter and setter for a property in the property definition. It will effect the change in the
private property of the constituent control.
Get
Return MyButton1.ForeColor
End Get
Set(Value As System.Drawing.Color)
MyButton1.ForeColor = Value
End Set
End Property
Rating:
Was this information helpful?
Other articles
- What is the MouseMove event?
- What is the PrintDialog component?
- What is the Load Balance Timeout keyword of the ConnectionString property?
- What is side-by-side versioning?
- What is the Condition property of the Custom Actions editor?
