Spread WinForms 15
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcComboBoxCellType Class / MaxLengthUnit Property


In This Topic
MaxLengthUnit Property (GcComboBoxCellType)
In This Topic
Gets or sets the calculation methods of the MaxLength (based on byte or character).
Syntax
'Declaration
 
Public Property MaxLengthUnit As LengthUnit
 
'Usage
 
Dim instance As GcComboBoxCellType
Dim value As LengthUnit
 
instance.MaxLengthUnit = value
 
value = instance.MaxLengthUnit

Property Value

A bool value, true if the calculational methods of MaxLength are based on bytes, false if based on character.
The default is LengthUnit.Char.
Remarks
This property is related to the MaxLength property.
See Also