I am using a class library in Visual Basic 2010 Express Edition to make a custom textbox control. How do I add a dropdown property for the textbox?
I need a dynamic dropdown menu not like when you using
Enum MaxValue
item1 = 0
End Enum
because I have to get the items from the database.
I tried adding a browsable option but nothing happened:
<Browsable(True)>
Property Max_Value() As String
Get
Return MaxValue
End Get
Set(value As String
MaxValue = value
End Set
End Property