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

VGridControlBase.MakeRecordVisible(Int32) Method

Makes the specified record visible on screen.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v18.2.dll

Declaration

public void MakeRecordVisible(
    int recordIndex
)

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 Scrolling and Focusing Rows.

See Also