Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcMaskCellType Class / AutoConvert Property


In This Topic
    AutoConvert Property (GcMaskCellType)
    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 GcMaskCellType
    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 the AutoConvert property is set to true, all convertible characters are automatically converted accordingly to the input mask. For example, if the input mask is set to "A", then pressing a lower case character automatically converts the character into upper case.

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

    See Also