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


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Cell Class : SelectionBackground Property
Gets or sets the brush that will be used to paint the cell's background when the cell is selected and active.
Syntax
'Declaration
 
Public Property SelectionBackground As Brush
'Usage
 
Dim instance As Cell

Dim value As Brush

 

instance.SelectionBackground = value

 

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

Property Value

The Brush that will be used to paint the cell's background when the cell is selected and active. 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

Cell Class
Cell Members