Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

VGridControlBase.FocusedRecord Property

Gets or sets the focused record by its index.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

NuGet Packages: DevExpress.Win.Navigation, DevExpress.Win.VerticalGrid

#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.

See Also