Xceed DataGrid for WPF v7.2 Documentation
SelectedItems Property (DataGridContext)


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid Namespace > DataGridContext Class : SelectedItems Property
Gets a collection of data items that are currently selected in the context.
Syntax
'Declaration
 
Public ReadOnly Property SelectedItems As IList(Of Object)
'Usage
 
Dim instance As DataGridContext

Dim value As IList(Of Object)

 

value = instance.SelectedItems
public IList<object> SelectedItems {get;}

Property Value

A reference to a collection containing the data items currently selected in the context. By default, a null reference (Nothing in Visual Basic).
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

DataGridContext Class
DataGridContext Members