DataGrid::ParentRowsForeColor Property
.NET Framework (current version)
Gets or sets the foreground color of parent rows.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Property Value
Type: System.Drawing::ColorA Color that represents the foreground color of parent rows. The default is the WindowText color.
The following code example sets the ParentRowsForeColor property to a new color.
Private Sub SetParentRowsForeClr(ByVal myGrid As DataGrid) myGrid.ParentRowsForeColor = System.Drawing.Color.Tomato End Sub
.NET Framework
Available since 1.1
Available since 1.1
Show: