VGridControlBase.FocusedRecord Property

Gets or sets the focused record by its index.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

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

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