Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / Row Class / InactiveSelectionBackground Property


In This Topic
    InactiveSelectionBackground Property (Row)
    In This Topic
    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