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


In This Topic
    AllowSpace Property (GcCharMask)
    In This Topic
    Gets or sets whether to allow space input.
    Syntax
    'Declaration
     
    
    Public Property AllowSpace As AllowSpace
    'Usage
     
    
    Dim instance As GcCharMask
    Dim value As AllowSpace
     
    instance.AllowSpace = value
     
    value = instance.AllowSpace
    public AllowSpace AllowSpace {get; set;}

    Property Value

    One of the AllowSpace values.
    The default is AllowSpace.Both.
    Remarks

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

    If the AllowSpace is None mode, this GcCharMask will not accept space. The AllowSpace.Narrow means the SBCS space will be allowed. The AllowSpace.Wide means the DBCS space will be allowed. And the AllowSpace.Both means all kinds of space will be allowed.

    If the AutoConvert propety is true and the AllowSpace is AllowSpace.Wide, the control will auto convert the SBCS space to DBCS space when user input a SBCS space char. It's the same to other settings. And the Format property always be used with this AllowSpace property.

    See Also