Syncfusion.Grid.Windows
Example 


RowStyles Property (GridModel)

Gets row styles. Individual cells will inherit attributes from the corresponding row style.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
Public ReadOnly Property RowStyles As GridModelRowStylesIndexer
'Usage
 
Dim instance As GridModel
Dim value As GridModelRowStylesIndexer
 
value = instance.RowStyles
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
public GridModelRowStylesIndexer RowStyles {get;}
Example
This example shows how to use the RowStyles property.
// Setting whole Row�s styles.
this.gridControl1.Model. RowStyles[1].BackColor = Color.Red;
this.gridControl1.Model. RowStyles[1].Font.Facename = "Segoe UI";
this.gridControl1.Model. RowStyles[1].Font.Bold = true;
' Setting whole Row�s styles.
Me.gridControl1.Model.RowStyles(1).BackColor = Color.Red
Me.gridControl1.Model.RowStyles(1).Font.Facename = "Segoe UI"
Me.gridControl1.Model.RowStyles(1).Font.Bold = True
AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also