Back to Devexpress

DocumentManager.View Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-eed47b5b.md

latest3.5 KB
Original Source

DocumentManager.View Property

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

Declaration

csharp
[DefaultValue(null)]
[DXCategory("Layout")]
public BaseView View { get; set; }
vb
<DXCategory("Layout")>
<DefaultValue(Nothing)>
Public Property View As BaseView

Property Value

TypeDefaultDescription
BaseViewnull

A BaseView descendant that displays child forms(or controls) in a specific manner.

|

Remarks

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.

xaf-how-to-create-information-panels/CS/EFCore/InfoPanelEF/InfoPanelEF.Win/LightStyleMainRibbonForm1.cs#L47

csharp
ribbonControl.MdiMergeStyle = RibbonMdiMergeStyle.Never;
documentManager.View = noDocumentsView;
documentManager.ViewCollection.Remove(nativeMdiView);

winforms-create-widgetview-runtime/CS/WidgetViewExample/Form1.cs#L43

csharp
view = new WidgetView();
dM.View = view;
view.AllowDocumentStateChangeAnimation = DevExpress.Utils.DefaultBoolean.True;

winforms-create-widgetview-runtime/VB/WidgetViewExample/Form1.vb#L43

vb
view = New WidgetView()
dM.View = view
view.AllowDocumentStateChangeAnimation = DevExpress.Utils.DefaultBoolean.True

See Also

DocumentManager Class

DocumentManager Members

DevExpress.XtraBars.Docking2010 Namespace