How to restrict the string lenght in propertygrid item in vb.net [modified]
Windows Forms
1
Posts
1
Posters
0
Views
1
Watching
-
in propertygrid having name property .. How to restrict user only type in name property maximum 50 characters.. how to do this..always user is enter only 50 character ..after enter 51 character don't allow to typing.. This is the code i am adding Item in propertygrid.. <Category("Misc")> <Browsable(True)> <DisplayName("(Name)")> <Description("Indicates the name of the control to identify on the page")> _ Public Property Name() As String Get Return _Name End Get Set(ByVal value As String) _Name = value End Set End Property Thanks..
modified on Wednesday, July 22, 2009 6:46 AM