Back to Devexpress

GridControl.IsVisibleView(BaseView) Method

windowsforms-devexpress-dot-xtragrid-dot-gridcontrol-dot-isvisibleview-x28-devexpress-dot-xtragrid-dot-views-dot-base-dot-baseview-x29.md

latest2.2 KB
Original Source

GridControl.IsVisibleView(BaseView) Method

Indicates whether a specific View is currently visible.

Namespace : DevExpress.XtraGrid

Assembly : DevExpress.XtraGrid.v25.2.dll

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

Declaration

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

Parameters

NameTypeDescription
viewBaseView

A BaseView object that corresponds to the inspected View.

|

Returns

TypeDescription
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

FocusedView

LevelTree

Views

GridControl Class

GridControl Members

DevExpress.XtraGrid Namespace