GridControl.IsVisibleView(BaseView) Method

Indicates whether a specific View is currently visible.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v20.1.dll


public bool IsVisibleView(
    BaseView view
Public Function IsVisibleView(
    view As BaseView
) As Boolean


Name Type Description
view BaseView

A BaseView object that corresponds to the inspected View.


Type Description

true, if a specific View is visible onscreen, otherwise, false.


The function returns whether the specified View is currenly displayed onscreen. If the View is not visible due to scrolling, IsVisibleView will return false.

If the View passed as a parameter represents a View from the GridControl.LevelTree tree, the function returns false.

All existing Views can be obtained from the GridControl.Views collection.

See Also