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


In This Topic
    AllowSpace Property (GcTextBoxCellType)
    In This Topic
    Gets or sets the allow space settings.
    Syntax
    'Declaration
     
    
    Public Property AllowSpace As AllowSpace
    'Usage
     
    
    Dim instance As GcTextBoxCellType
    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.
    Remarks

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

    If AllowSpace is None, this GcTextBox does not accept a space. 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 propety is true and the AllowSpace setting is AllowSpace.Wide, the control automatically converts the SBCS space to a DBCS space when user enters a SBCS space character. The other settings have similar behavior. The Format property is always used with the AllowSpace property.

    See Also