DataControlBase.CurrentItem Property
Gets or sets the currently focused data row.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v19.2.Core.dll
Declaration
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).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the CurrentItem property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.