編集

次の方法で共有


DataGrid.SelectedIndex Property

Definition

Gets or sets the index of the current selection.

public int SelectedIndex { get; set; }
member this.SelectedIndex : int with get, set
Public Property SelectedIndex As Integer

Property Value

The index of the current selection, or -1 if the selection is empty.

Applies to