Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / AllowSpace Property

In This Topic
    AllowSpace Property (GcTextBox)
    In This Topic
    Gets or sets the allow space settings.
    Public Property AllowSpace As AllowSpace
    Dim instance As GcTextBox
    Dim value As AllowSpace
    instance.AllowSpace = value
    value = instance.AllowSpace
    public AllowSpace AllowSpace {get; set;}

    Property Value

    An AllowSpace enumeration that indicates which type of space character can be accepted.
    The default is AllowSpace.Both.

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

    If the AllowSpace enumeration is None, this GcTextBox does not accept a space. The AllowSpace.Narrow option means the SBCS space is allowed. The AllowSpace.Wide option means the DBCS space is allowed. The AllowSpace.Both option means all kinds of spaces are allowed.

    If the AutoConvert propety is true and the AllowSpace is AllowSpace.Wide, the control automatically converts the SBCS space to DBCS space when the user enters a SBCS space character. The other settings behave the same way. The Format property can always be used with the AllowSpace property.

    See Also