Skip to main content

IBaseViewController.GetView(BaseDocument) Method

Gets a View that owns this Document.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v23.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