Syncfusion.Grid.Windows
Example 


AutoFit Property (GridStyleInfo)

Provides an option for displaying the cell with symbols when the contents in cell exceeds it's width.
Syntax
'Declaration
 
Public Property AutoFit As AutoFitOptions
'Usage
 
Dim instance As GridStyleInfo
Dim value As AutoFitOptions
 
instance.AutoFit = value
 
value = instance.AutoFit
public AutoFitOptions AutoFit {get; set;}
Example
This example shows how to set the AutoFitOptions.
//Display special characters when the contents in cell exceeds it's width.
this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet;
this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Numeric;
this.gridControl1.TableStyle.AutoFit = AutoFitOptions.Both;
this.gridControl1.TableStyle.AutoFit = AutoFitOptions.None;
'Display special characters when the contents in cell exceeds it's width.
 Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Alphabet
 Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Numeric
 Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.Both
 Me.gridControl1.TableStyle.AutoFit = AutoFitOptions.None
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also