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


In This Topic
    HideSelection Property (GridControl)
    In This Topic
    Gets or sets a value indicating whether the selected rows in the grid remain highlighted when the grid loses focus.
    Syntax
    'Declaration
     
    <DescriptionAttribute("Indicates whether the selected item in the grid remains highlighted when the grid loses focus.")>
    <CategoryAttribute("Behavior")>
    Public Property HideSelection As Boolean
    'Usage
     
    Dim instance As GridControl
    Dim value As Boolean
     
    instance.HideSelection = value
     
    value = instance.HideSelection
    [Description("Indicates whether the selected item in the grid remains highlighted when the grid loses focus.")]
    [Category("Behavior")]
    public bool HideSelection {get; set;}

    Property Value

    true if the selected rows do not appear highlighted when the grid loses focus; false otherwise.
    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