Xceed DataGrid for WPF v7.2 Documentation
SelectionBackground Property (Row)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Row Class : SelectionBackground Property
Get or sets the background of the selected rows when a grid is focused.
Syntax
'Declaration
 
Public Property SelectionBackground As Brush
'Usage
 
Dim instance As Row

Dim value As Brush

 

instance.SelectionBackground = value

 

value = instance.SelectionBackground
public Brush SelectionBackground {get; set;}

Property Value

A reference to the Brush that is used to paint the background of the selected rows when a grid is focused. By default, a null reference (Nothing in Visual Basic).
Requirements

Target Platforms: Windows 11, Windows, 10, 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

See Also

Reference

Row Class
Row Members

Properties

SelectionForeground Property
InactiveSelectionBackground Property
InactiveSelectionForeground Property