Xceed DataGrid for WPF v7.2 Documentation
SelectedContexts Property


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridControl Class : SelectedContexts Property
Gets the contexts in which items are selected.
Syntax
'Declaration
 
Public ReadOnly Property SelectedContexts As ReadOnlyCollection(Of DataGridContext)
'Usage
 
Dim instance As DataGridControl
Dim value As ReadOnlyCollection(Of DataGridContext)
 
value = instance.SelectedContexts
public ReadOnlyCollection<DataGridContext> SelectedContexts {get;}

Property Value

A list of the contexts in which items are selected.
Remarks
The global selected items can be retrieved through the GlobalSelectedItems property. The selected items of an individual context can be retrieved through its SelectedItems property.
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