Syncfusion.Grid.Windows
Example 


RowStyles Property (GridControl)

See GridModel.RowStyles and see GridModel.RowStylesin the GridModel class for information.
Syntax
'Declaration
 
<DescriptionAttribute("Styles used by the rows in the grid. Row cells will inherit this style.")>
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<CategoryAttribute("Grid Contents")>
<BrowsableAttribute(False)>
Public ReadOnly Property RowStyles As GridModelRowStylesIndexer
'Usage
 
Dim instance As GridControl
Dim value As GridModelRowStylesIndexer
 
value = instance.RowStyles
[Description("Styles used by the rows in the grid. Row cells will inherit this style.")]
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Category("Grid Contents")]
[Browsable(false)]
public GridModelRowStylesIndexer RowStyles {get;}
Example
This example shows how to use RowStyles property.
// Setting styles for the whole row with the specific row index.
this.gridControl1.RowStyles[1].BackColor = Color.Red;
this.gridControl1.RowStyles[1].Font.Facename = "Segoe UI";
this.gridControl1.RowStyles[1].Font.Bold = true;
' Setting styles for the whole row with the specific row index.
Me.gridControl1.RowStyles(1).BackColor = Color.Red
Me.gridControl1.RowStyles(1).Font.Facename = "Segoe UI"
Me.gridControl1.RowStyles(1).Font.Bold = true
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also