windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-documentmanager-82961313.md
Gets or sets the bar and dock controller that specifies default appearance settings for the DocumentManager‘s elements.
Namespace : DevExpress.XtraBars.Docking2010
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(null)]
[DXCategory("Appearance")]
public virtual BarAndDockingController BarAndDockingController { get; set; }
<DXCategory("Appearance")>
<DefaultValue(Nothing)>
Public Overridable Property BarAndDockingController As BarAndDockingController
| Type | Default | Description |
|---|---|---|
| BarAndDockingController | null |
A BarAndDockingController object providing appearance options.
|
Use the BarAndDockingController property to explicitly assign a BarAndDockingController to a DocumentManager. The BarAndDockingController provides settings that allow you to control the default appearance of the DocumentManager‘s elements. These settings are accessible via the BarAndDockingController.AppearancesDocumentManager object.
If the BarAndDockingController property is set to null , the DocumentManager uses the Default BarAndDockingController’s settings. Otherwise, the appearance settings are obtained from the assigned BarAndDockingController. The Default BarAndDockingController can be obtained via the static BarAndDockingController.Default property or via the DefaultBarAndDockingController component.
See the Look and Feel help topic for more information.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BarAndDockingController 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/InfoPanels.Module.Win/MainForm.cs#L36
UpdateMdiModeDependentProperties();
documentManager.BarAndDockingController = mainBarAndDockingController;
documentManager.MenuManager = mainBarManager;
xaf-how-to-create-information-panels/VB/InfoPanels.Module.Win/MainForm.vb#L44
UpdateMdiModeDependentProperties()
DocumentManager.BarAndDockingController = mainBarAndDockingController
DocumentManager.MenuManager = mainBarManager
See Also