Xceed Grid for WinForms v4.3 Documentation
Xceed.Grid.v4.3 Assembly / Xceed.Grid Namespace / GridControl Class / InactiveSelectionForeColor Property


In This Topic
    InactiveSelectionForeColor Property (GridControl)
    In This Topic
    Gets or sets the inactive selection foreground color of the grid.
    Syntax
    'Declaration
     
    <DescriptionAttribute("The inactive selection foreground color of the grid.")>
    <CategoryAttribute("Appearance")>
    Public Property InactiveSelectionForeColor As Color
    'Usage
     
    Dim instance As GridControl
    Dim value As Color
     
    instance.InactiveSelectionForeColor = value
     
    value = instance.InactiveSelectionForeColor
    [Description("The inactive selection foreground color of the grid.")]
    [Category("Appearance")]
    public Color InactiveSelectionForeColor {get; set;}

    Property Value

    A System.Drawing.Color structure representing the inactive selection background color of the grid. By default, System.Drawing.SystemColors.InactiveCaptionText.
    Remarks

    The InactiveSelectionForeColor is applied to the selected rows when HideSelection is set to false and the grid does not have focus.

    Requirements

    Target Platforms: 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