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
#Parameters
Name | Type | Description |
---|---|---|
record |
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.