how to remove text property from inherited control

seco

Well-known member
Joined
Mar 4, 2007
Messages
66
Programming Experience
Beginner
hi
i inherit from a control and i want to remove the text property from the property window
how can i do that


thanks in advance.
 
Override it and apply the Browsable attribute.
VB.NET:
Expand Collapse Copy
<System.ComponentModel.Browsable(False)> _
Public Overrides Property Text() As String
    Get
        Return Nothing
    End Get
    Set(ByVal value As String)
    End Set
End Property
 
Back
Top