Gets or sets whether to automatically convert the entered characters according to the input mask.
            
            
            
Syntax
| Visual Basic (Declaration) |   | 
|---|
Public Property AutoConvert As Boolean  | 
 
| Visual Basic (Usage) |  Copy Code | 
|---|
Dim instance As GcTextBoxCellType
Dim value As Boolean
 
instance.AutoConvert = value
 
value = instance.AutoConvert  | 
 
| C# |   | 
|---|
public bool AutoConvert {get; set;} | 
 
            
            
            Property Value
True if characters are automatically converted according to the input mask; otherwise, false.
The default is 
true.
 
            
			
			
            Remarks
            
            
Example
This example uses the AutoConvert property.
             
| C# |  Copy Code | 
|---|
GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType datecell = new GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType();
datecell.FieldsEditMode = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditMode.RightSide;
datecell.ExcelExportFormat = "MM/dd/yy";
fpSpread1.Sheets[0].Cells[0, 0].CellType = datecell;
GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType textcell = new GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType();
textcell.AutoConvert = true;
textcell.FormatString = "A";
fpSpread1.Sheets[0].Cells[1, 1].CellType = textcell;  | 
 
| VB.NET |  Copy Code | 
|---|
Dim datecell As New GrapeCity.Win.Spread.InputMan.CellType.GcDateTimeCellType()
datecell.FieldsEditMode = GrapeCity.Win.Spread.InputMan.CellType.FieldsEditMode.RightSide
datecell.ExcelExportFormat = "MM/dd/yy"
FpSpread1.Sheets(0).Cells(0, 0).CellType = datecell
Dim textcell As New GrapeCity.Win.Spread.InputMan.CellType.GcTextBoxCellType()
textcell.AutoConvert = True
textcell.FormatString = "A"
FpSpread1.Sheets(0).Cells(1, 1).CellType = textcell  | 
 
 
            
            
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
 
            
            
See Also