Gets or sets the default color used for the backcolor of selected cells in the grid.
Demonstrates how to set the DefaultSelectedBackColor and DefaultSelectedForeColor properties during the loading of a form.
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Me.UltraGrid1.DisplayLayout.DefaultSelectedBackColor = Color.Black
Me.UltraGrid1.DisplayLayout.DefaultSelectedForeColor = Color.Yellow
End Sub
'Declaration
Public Property DefaultSelectedBackColor As Color
private void Form1_Load(object sender, EventArgs e)
{
this.ultraGrid1.DisplayLayout.DefaultSelectedBackColor = Color.Black;
this.ultraGrid1.DisplayLayout.DefaultSelectedForeColor = Color.Yellow;
}
'Declaration
Public Property DefaultSelectedBackColor As Color
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2