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

IBaseViewController.GetView(BaseDocument) Method

Gets a View that owns this Document.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

BaseView GetView(
    BaseDocument document
)

#Parameters

Name Type Description
document BaseDocument

A BaseDocument object whose parent View is to be obtained.

#Returns

Type Description
BaseView

A BaseView that owns the target Document.

#Remarks

Use the GetView method to get a View that owns the specific Document. For instance, when a Document is undocked from a parent TabbedView and hosted within a floating container (see the BaseView.FloatingDocumentContainer property), it no longer belongs to this View. Instead, a secondary Tabbed View appears. That view owns the Document. If needed, you can get this View via the GetView method.

See Also