Spread Windows Forms 12.0 Product Documentation
AllowSpace Property (GcComboBoxCellType)


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > GcComboBoxCellType Class : AllowSpace Property
Gets or sets an AllowSpace value that indicates which type of space character is allowed.
Syntax
'Declaration
 
Public Property AllowSpace As AllowSpace
'Usage
 
Dim instance As GcComboBoxCellType
Dim value As AllowSpace
 
instance.AllowSpace = value
 
value = instance.AllowSpace
public AllowSpace AllowSpace {get; set;}

Property Value

A AllowSpace value.
The default is AllowSpace.Both.
Remarks

Use the AllowSpace property to specify which kind of space is allowed in the text.

If AllowSpace is None, GcComboBox does not accept spaces. The AllowSpace.Narrow setting means the SBCS space is allowed. The AllowSpace.Wide setting means the DBCS space is allowed. The AllowSpace.Both setting means all kinds of spaces are allowed.

If the AutoConvert property is true and AllowSpace is AllowSpace.Wide, the control automatically converts the SBCS space to DBCS space when the user enters a SBCS space. The Format(Object,Boolean) property is always used with the AllowSpace property.

See Also

Reference

GcComboBoxCellType Class
GcComboBoxCellType Members