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

GridControl.IsVisibleView(BaseView) Method

Indicates whether a specific View is currently visible.

Namespace: DevExpress.XtraGrid

Assembly: DevExpress.XtraGrid.v24.2.dll

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

#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