DataControlBase.CurrentItem Property

Gets or sets the currently focused data row.

Namespace: DevExpress.UI.Xaml.Grid

Assembly: DevExpress.UI.Xaml.Grid.v21.2.dll


public object CurrentItem { get; set; }

Property Value

Type Description

A Object specifying the focused row.


When record multi-selection is disabled, both the CurrentItem and DataControlBase.SelectedItem properties refer to the focused record.

When multi-selection mode is enabled, the CurrentItem property refers to the last selected object (focused record), while the DataControlBase.SelectedItem property refers to the first selected object (the first item in the DataControlBase.SelectedItems collection).

See Also