IBaseViewController.GetView(BaseDocument) Method

Gets a View that owns this Document.

Namespace: DevExpress.XtraBars.Docking2010.Views

Assembly: DevExpress.XtraBars.v21.2.dll


BaseView GetView(
    BaseDocument document


Name Type Description
document BaseDocument

A BaseDocument object whose parent View is to be obtained.


Type Description

A BaseView that owns the target Document.


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