VGridControlBase.FocusedRecord Property
Gets or sets the focused record by its index.
Namespace: DevExpress.XtraVerticalGrid
Assembly: DevExpress.XtraVerticalGrid.v20.2.dll
NuGet Package: DevExpress.Win.VerticalGrid
Declaration
Property Value
Type | Description |
---|---|
Int32 | An integer value that specifies the index of the focused record. |
Remarks
The FocusedRecord property identifies the currently focused record. To focus a specific record assign the corresponding index to the FocusedRecord property. This will also make the specified record visible on screen.
When record focus changes, the VGridControlBase.FocusedRecordChanged event is raised.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FocusedRecord 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.