[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.AllowSpace

AllowSpace Property

AllowSpace

Gets or sets an AllowSpace value that indicates which type of space character is allowed.

Declaration
[Browsable(true)]
public AllowSpace AllowSpace { get; set; }
<Browsable(True)>
Public Property AllowSpace As AllowSpace
Property Value
Type Description
AllowSpace

A AllowSpace value.
The default is 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.

note

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 GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType.Format(System.Object,System.Boolean@) property is always used with the AllowSpace property.