[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.GcCharMaskCellType.AllowSpace

AllowSpace Property

AllowSpace

Gets or sets whether to allow space input.

Declaration
public AllowSpace AllowSpace { get; set; }
Public Property AllowSpace As AllowSpace
Property Value
Type Description
AllowSpace

One of the AllowSpace values.
The default is Both.

Remarks

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

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

note

If the AutoConvert propety is true and AllowSpace is AllowSpace.Wide, the control automatically converts the SBCS space to a DBCS space when the user enters a SBCS space character. Other settings are the same. The GrapeCity.Win.Spread.InputMan.CellType.GcCharMask.Format property is always used with the AllowSpace property.

See Also
AutoConvert
Format