Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcCharMaskCellType Class / AllowSpace Property


In This Topic
    AllowSpace Property (GcCharMaskCellType)
    In This Topic
    Gets or sets whether to allow space input.
    Syntax
    'Declaration
     
    
    Public Property AllowSpace As AllowSpace
    'Usage
     
    
    Dim instance As GcCharMaskCellType
    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 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.

    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 GcCharMask.Format property is always used with the AllowSpace property.
    See Also