Syncfusion.SfDataGrid.WinForms


SelectedItems Property (SfDataGrid)

Gets or sets the collection of objects that contains data item of corresponding to the selected records in a SFDataGrid.
Syntax
'Declaration
 
<DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)>
<BrowsableAttribute(False)>
<CloneableAttribute(False)>
Public Property SelectedItems As ObservableCollection(Of Object)
'Usage
 
Dim instance As SfDataGrid
Dim value As ObservableCollection(Of Object)
 
instance.SelectedItems = value
 
value = instance.SelectedItems
[DesignerSerializationVisibility(DesignerSerializationVisibility.Hidden)]
[Browsable(false)]
[Cloneable(false)]
public ObservableCollection<object> SelectedItems {get; set;}

Property Value

The collection of objects that contains data item corresponding to the selected rows.
AssemblyVersion

Syncfusion.SfDataGrid.WinForms: 17.2460.0.34

See Also