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


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > Row Class : InactiveSelectionForeground Property
Get or sets the foreground of the selected rows when a grid does not have the focus.
Syntax
'Declaration
 
Public Property InactiveSelectionForeground As Brush
'Usage
 
Dim instance As Row

Dim value As Brush

 

instance.InactiveSelectionForeground = value

 

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

Property Value

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

InactiveSelectionBackground Property
SelectionBackground Property
SelectionForeground Property