Xceed DataGrid for WPF v7.2 Documentation
HideSelection Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : HideSelection Property

Gets or sets a value indicating whether the selected rows should remain highlighted when the grid loses focus.

Syntax
'Declaration
 
Public Property HideSelection As Boolean
'Usage
 
Dim instance As DataGridControl
Dim value As Boolean
 
instance.HideSelection = value
 
value = instance.HideSelection
public bool HideSelection {get; set;}

Property Value

false if the selected rows should remain highlighted when the grid loses focus; true if they should be hidden. By default, true.
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

Reference

DataGridControl Class
DataGridControl Members

Properties

SelectedItems Property
SelectedItem Property