Syncfusion.Grid.Windows
Example 


TableStyle Property (GridControl)

See GridModel.TableStyle in the GridModel class for information.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<DescriptionAttribute("Individual cells in the grid will inherit attributes from the table style.")>
<CategoryAttribute("Grid Contents")>
<RefreshPropertiesAttribute(RefreshProperties.All)>
<BrowsableAttribute(False)>
Public Property TableStyle As GridStyleInfo
'Usage
 
Dim instance As GridControl
Dim value As GridStyleInfo
 
instance.TableStyle = value
 
value = instance.TableStyle
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Description("Individual cells in the grid will inherit attributes from the table style.")]
[Category("Grid Contents")]
[RefreshProperties(RefreshProperties.All)]
[Browsable(false)]
public GridStyleInfo TableStyle {get; set;}
Example
This example shows how to use TableStyle/// This example shows how to use CoveredRanges property. property.
this.gridControl1.TableStyle.TextColor = Color.Red;
this.gridControl1.TableStyle.Font.Facename = "Segoe UI";
this.gridControl1.TableStyle.Font.Size = 15;
Me.gridControl1.TableStyle.TextColor = Color.Red
Me.gridControl1.TableStyle.Font.Facename = "Segoe UI"
Me.gridControl1.TableStyle.Font.Size = 15
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also