Skip to main content

GridControl.IsVisibleView(BaseView) Method

Indicates whether a specific View is currently visible.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

Declaration

public bool IsVisibleView(
    BaseView view
)

Parameters

Name Type Description
view BaseView

A BaseView object that corresponds to the inspected View.

Returns

Type Description
Boolean

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

Remarks

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