windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-eed47b5b.md
Gets or sets a View object that displays child forms(or controls) in a specific manner.
Namespace : DevExpress.XtraBars.Docking2010
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Layout")]
public BaseView View { get; set; }
<DXCategory("Layout")>
<DefaultValue(Nothing)>
Public Property View As BaseView
| Type | Default | Description |
|---|---|---|
| BaseView | null |
A BaseView descendant that displays child forms(or controls) in a specific manner.
|
To enable a Native MDI or Tabbed UI for a DocumentManager, create a NativeMdiView or TabbedView object. Add it to the DocumentManager.ViewCollection collection, and then assign it to the View property.
The following code snippets (auto-collected from DevExpress Examples) contain references to the View property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
ribbonControl.MdiMergeStyle = RibbonMdiMergeStyle.Never;
documentManager.View = noDocumentsView;
documentManager.ViewCollection.Remove(nativeMdiView);
winforms-create-widgetview-runtime/CS/WidgetViewExample/Form1.cs#L43
view = new WidgetView();
dM.View = view;
view.AllowDocumentStateChangeAnimation = DevExpress.Utils.DefaultBoolean.True;
winforms-create-widgetview-runtime/VB/WidgetViewExample/Form1.vb#L43
view = New WidgetView()
dM.View = view
view.AllowDocumentStateChangeAnimation = DevExpress.Utils.DefaultBoolean.True
See Also