I have a form where I have created a custom property, DataEntryRole, and set its Browsable attribute to True, as shown:
<Browsable(True)> _
Public Property DataEntryRole() As UserRole.PossibleRoles
Get
Return mDataEntryRole
End Get
Set(ByVal value As UserRole.PossibleRoles)
mDataEntryRole = value
End Set
End Property
(UserRole.PossibleRoles is an Enum)
When I view the designer for my form, DataEntryRole doesn't appear in the property box. I assume that it should appear if I were to create another form that inherited from this base form, but that's not what I want. I want this property to show up in my current form.
Is this possible? If so, how? If not, what in your opinion is a viable alternative?