Skip to main content
A newer version of this page is available. .

VGridControlBase.FocusedRecord Property

Gets or sets the focused record by its index.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

[Browsable(false)]
public int FocusedRecord { get; set; }

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.

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.

See Also