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


In This Topic
    AllowSpace Property (GcComboBox)
    In This Topic
    Gets or sets an AllowSpace value indicates which type of the space character is allowed.
    Syntax
    'Declaration
     
    
    Public Property AllowSpace As AllowSpace
    'Usage
     
    
    Dim instance As GcComboBox
    Dim value As AllowSpace
     
    instance.AllowSpace = value
     
    value = instance.AllowSpace
    public AllowSpace AllowSpace {get; set;}

    Property Value

    A AllowSpace value.
    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 GcComboBox 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