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


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Row Class : InactiveSelectionBackground Property
Get or sets the background of the selected rows when a grid does not have the focus.
Syntax
'Declaration
 
Public Property InactiveSelectionBackground As Brush
'Usage
 
Dim instance As Row
Dim value As Brush
 
instance.InactiveSelectionBackground = value
 
value = instance.InactiveSelectionBackground
public Brush InactiveSelectionBackground {get; set;}

Property Value

A reference to the Brush that is used to paint the background of the selected rows when a grid does not have the focus. By default, a null reference (Nothing in Visual Basic).
Remarks
The InactiveSelectionBackground is applied to the selected rows when the HideSelection property is set to false and a grid does not have the focus.
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

InactiveSelectionForeground Property
SelectionBackground Property
SelectionForeground Property