Skip to main content

VGridControlBase.MakeRowVisible(BaseRow) Method

Makes the specified row visible on screen.

Namespace: DevExpress.XtraVerticalGrid

Assembly: DevExpress.XtraVerticalGrid.v24.1.dll

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

Declaration

public void MakeRowVisible(
    BaseRow row
)

Parameters

Name Type Description
row BaseRow

A BaseRow descendant that represents the row to be made visible.

Remarks

Use the MakeRowVisible method to scroll the rows to make the desired row visible on screen. This method’s functionality depends on the row’s current visibility state. Thus, the following three cases can occur:

  • if the specified row is completely visible on screen, this method does nothing;
  • if the row is partially visible, this method scrolls the minimum number of rows required to make the row completely visible;
  • if the row isn’t visible on screen, the parent rows that contain the specified row are expanded (if required) to make the row visible on screen. Note the MakeRowVisible method sets the row’s BaseRow.Visible property to true if it was previously set to false (the row was hidden).

If the Bands View Layout is applied, the MakeRowVisible method scrolls the view horizontally to make the desired row visible.

For more information, see Focus and Scroll Rows.

See Also