Back to Devexpress

VGridControlBase.FocusedRecord Property

windowsforms-devexpress-dot-xtraverticalgrid-dot-vgridcontrolbase-6e911a74.md

latest1.9 KB
Original Source

VGridControlBase.FocusedRecord Property

Gets or sets the focused record by its index.

Namespace : DevExpress.XtraVerticalGrid

Assembly : DevExpress.XtraVerticalGrid.v25.2.dll

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

Declaration

csharp
[Browsable(false)]
public int FocusedRecord { get; set; }
vb
<Browsable(False)>
Public Property FocusedRecord As Integer

Property Value

TypeDescription
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

FocusedRow

FocusedRecordChanged

RecordCount

VGridControlBase Class

VGridControlBase Members

DevExpress.XtraVerticalGrid Namespace