DataControlBase.CurrentItem Property

Gets or sets the currently focused data row.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.Core.dll

Declaration

public object CurrentItem { get; set; }
Public Property CurrentItem As Object

Property Value

Type Description
Object

A Object specifying the focused row.

Remarks

When Multiple Row Selection mode is disabled, the CurrentItem and DataControlBase.SelectedItem properties refer to the focused item.

When Multiple Row Selection mode is enabled, the CurrentItem property refers to the latest selected item (focused item), and the DataControlBase.SelectedItem property refers to the item that was selected first (the first item in the DataControlBase.SelectedItems collection).

See Also