VGridControlBase.MakeRecordVisible(Int32) Method

Makes the specified record visible on screen.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v20.1.dll

Declaration

public void MakeRecordVisible(
    int recordIndex
)
Public Sub MakeRecordVisible(
    recordIndex As Integer
)

Parameters

Name Type Description
recordIndex Int32

An integer value which identifies the record that should be made visible.

Remarks

The MakeRecordVisible method allows you to scroll the control's content horizontally in code. This method scrolls the control's content to the specified record.

If the Multiple Records View Layout is applied to the control and the view needs to be scrolled left to make the record visible, the record becomes the leftmost visible record. Otherwise, it becomes the rightmost visible. Calling the MakeRecordVisible method has no effect if there's no record with the specified index or it is visible.

For more information, see Focus and Scroll Rows.

See Also