DataGridSelectedIndex Property
Gets or sets the index of the current selection.
Namespace: Avalonia.ControlsAssembly: Avalonia.Controls.DataGrid (in Avalonia.Controls.DataGrid.dll) Version: 11.3.999
public int SelectedIndex { get; set; }
Public Property SelectedIndex As Integer
Get
Set
member SelectedIndex : int with get, set
Return Value
Int32
The index of the current selection, or -1 if the selection is empty.