A newer version of this page is available. Switch to the current version.

DataControlBase.CurrentItem Property

Gets or sets the currently focused data row.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.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 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 latest 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