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


In This Topic
    DefaultSelectionForeColor Property (GridControl)
    In This Topic
    Gets a System.Drawing.Color structure representing the default value of the SelectionForeColor property.
    Syntax
    'Declaration
     
    Protected Friend Overridable ReadOnly Property DefaultSelectionForeColor As Color
    'Usage
     
    Dim instance As GridControl
    Dim value As Color
     
    value = instance.DefaultSelectionForeColor
    protected internal virtual Color DefaultSelectionForeColor {get;}

    Property Value

    Unless overridden: Color.Black if UIStyle is System and running on Vista; otherwise, System.Drawing.SystemColors.HighlightText.
    Remarks
    When overriding DefaultSelectionForeColor in a derived class, the value returned by your implementation should not be dynamic.
    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