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.MakeRecordVisible(Int32) Method

Makes the specified record visible on screen.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.2.dll

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

#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 Focus and Scroll Rows.

See Also