Syncfusion.Grid.Windows


MaxLength Property (GridStyleInfo)

Gets or sets Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side.
Syntax
'Declaration
 
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side.")>
<BrowsableAttribute(True)>
<SRCategoryAttribute("Behavior")>
Public Property MaxLength As Integer
'Usage
 
Dim instance As GridStyleInfo
Dim value As Integer
 
instance.MaxLength = value
 
value = instance.MaxLength
[NotifyParentProperty(true)]
[Description("Limits the number of characters the user can type into the cell. Note: When selecting a text from a choice list or when pasting text, the text can be longer. Additional validation is necessary on your side.")]
[Browsable(true)]
[SRCategory("Behavior")]
public int MaxLength {get; set;}
Remarks

The default value for the MaxLength property is 0.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.1460.0.47

See Also