Gets or sets a value indicating whether the selected rows should remain highlighted when the grid loses focus.
public bool HideSelection {get; set;}
'Declaration
Public Property HideSelection As Boolean
'Usage
Dim instance As DataGridControl
Dim value As Boolean
instance.HideSelection = value
value = instance.HideSelection
Property Value
false if the
selected rows should remain highlighted when the grid loses focus;
true if they should be hidden. By default,
true.
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