Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcMask Class / AutoConvert Property


In This Topic
    AutoConvert Property (GcMask)
    In This Topic
    Gets or sets whether to automatically convert the entered characters according to the input control.
    Syntax
    'Declaration
     
    
    Public Overridable Property AutoConvert As Boolean
    'Usage
     
    
    Dim instance As GcMask
    Dim value As Boolean
     
    instance.AutoConvert = value
     
    value = instance.AutoConvert
    public virtual bool AutoConvert {get; set;}

    Property Value

    true if characters are automatically converted according to the input control; otherwise, false.
    The default is true.
    Remarks
    If set the AutoConvert property to true, all convertible characters will be automatically converted accordingly to the input mask. For example, if set the input mask to "A", by hitting a lower case character the control automatically converts the character into an upper case.

    If SBCS is entered in a DBCS mask input, the entered character will be automatically converted to DBCS. Also a DBCS space will be automatically converted to a SBCS space when the control allows only SBCS.

    See Also