Syncfusion.Grid.Windows
Example 


TableStyle Property (GridModel)

Gets or sets the table style. Individual cells will inherit attributes from the table style.
Syntax
'Declaration
 
<BrowsableAttribute(False)>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
Public Property TableStyle As GridStyleInfo
'Usage
 
Dim instance As GridModel
Dim value As GridStyleInfo
 
instance.TableStyle = value
 
value = instance.TableStyle
[Browsable(false)]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
public GridStyleInfo TableStyle {get; set;}
Example
This example shows how to use the TableStyle property.
this.gridControl1.Model.TableStyle.TextColor = Color.Red;
this.gridControl1.Model.TableStyle.Font.Facename = "Segoe UI";
this.gridControl1.Model.TableStyle.Font.Size = 15;
Me.gridControl1.Model.TableStyle.TextColor = Color.Red
Me.gridControl1.Model.TableStyle.Font.Facename = "Segoe UI"
Me.gridControl1.Model.TableStyle.Font.Size = 15
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also