Updated DockingManager (markdown)

master
DianeXceed 9 years ago
parent
commit
288fa8337e
  1. 119
      DockingManager.md

119
DockingManager.md

@ -1,65 +1,68 @@
# DockingManager # DockingManager
Derives from Control Derives from Control
The core control of AvalonDock. The core control of [[AvalonDock]].
## Properties ### Properties
|| Property || Description | Property | Description |
| ActiveContent | Gets or sets the currently active content. | --- | --- |
| AllowMixedOrientation | Gets or sets whether the docking manager should allow mixed orientation for document panes. | ActiveContent | Gets or sets the currently active content. |
| AnchorableContextMenu | Gets or sets the context menu to display for anchorables. | AllowMixedOrientation | Gets or sets whether the docking manager should allow mixed orientation for document panes. |
| AnchorableHeaderTemplate | Gets or sets the data template to use for the headers of anchorables. | AnchorableContextMenu | Gets or sets the context menu to display for anchorables. |
| AnchorableHeaderTemplateSelector | Gets or sets the selector to use when selecting the data template for the headers of anchorables. | AnchorableHeaderTemplate | Gets or sets the data template to use for the headers of anchorables. |
| AnchorablePaneControlStyle | Gets or sets the style to apply to LayoutAnchorablePaneControl. | AnchorableHeaderTemplateSelector | Gets or sets the selector to use when selecting the data template for the headers of anchorables. |
| AnchorablePaneTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorablePaneControl. | AnchorablePaneControlStyle | Gets or sets the style to apply to LayoutAnchorablePaneControl. |
| AnchorablesSource | Gets or sets the source collection of LayoutAnchorable objects. | AnchorablePaneTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorablePaneControl. |
| AnchorableTitleTemplate | Gets or sets the data template to use for anchorable titles. | AnchorablesSource | Gets or sets the source collection of LayoutAnchorable objects. |
| AnchorableTitleTemplateSelector | Gets or sets the selector to use when selecting the data template for anchorable titles. | AnchorableTitleTemplate | Gets or sets the data template to use for anchorable titles. |
| AnchorGroupTemplate | Gets or sets the ControlTemplate used to render the LayoutAnchorGroupControl. | AnchorableTitleTemplateSelector | Gets or sets the selector to use when selecting the data template for anchorable titles. |
| AnchorSideTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorSideControl. | AnchorGroupTemplate | Gets or sets the ControlTemplate used to render the LayoutAnchorGroupControl. |
| AnchorTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorControl. | AnchorSideTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorSideControl. |
| AutoHideWindow | Gets the currently shown autohide window. | AnchorTemplate | Gets or sets the ControlTemplate used to render LayoutAnchorControl. |
| BottomSidePanel | Gets or sets the bottom side panel control. | AutoHideWindow | Gets the currently shown autohide window. |
| DocumentContextMenu | Gets or sets the context menu to show for documents. | BottomSidePanel | Gets or sets the bottom side panel control. |
| DocumentHeaderTemplate | Gets or sets the data template to use for document headers. | DocumentContextMenu | Gets or sets the context menu to show for documents. |
| DocumentHeaderTemplateSelector | Gets or sets the template selector that is used when selecting the data template for document headers. | DocumentHeaderTemplate | Gets or sets the data template to use for document headers. |
| DocumentPaneControlStyle | Gets or sets the style of LayoutDocumentPaneControl. | DocumentHeaderTemplateSelector | Gets or sets the template selector that is used when selecting the data template for document headers. |
| DocumentPaneMenuItemHeaderTemplate | Gets or sets the DataTemplate to use when creating menu items in dropdowns on document panes. | DocumentPaneControlStyle | Gets or sets the style of LayoutDocumentPaneControl. |
| DocumentPaneMenuItemHeaderTemplateSelector | Gets or sets the data template selector to use for the menu items shown when the user selects the LayoutDocumentPaneControl's document switch context menu. | DocumentPaneMenuItemHeaderTemplate | Gets or sets the DataTemplate to use when creating menu items in dropdowns on document panes. |
| DocumentPaneTemplate | Gets or sets the ControlTemplate used to render LayoutDocumentPaneControl. | DocumentPaneMenuItemHeaderTemplateSelector | Gets or sets the data template selector to use for the menu items shown when the user selects the LayoutDocumentPaneControl's document switch context menu. |
| DocumentsSource | Gets or sets the source collection of LayoutDocument objects. | DocumentPaneTemplate | Gets or sets the ControlTemplate used to render LayoutDocumentPaneControl. |
| DocumentTitleTemplate | Gets or sets the data template to use for document titles. | DocumentsSource | Gets or sets the source collection of LayoutDocument objects. |
| DocumentTitleTemplateSelector | Gets or sets the data template selector to use when creating the data template for the title. | DocumentTitleTemplate | Gets or sets the data template to use for document titles. |
| FloatingWindows | Gets the floating windows. | DocumentTitleTemplateSelector | Gets or sets the data template selector to use when creating the data template for the title. |
| GridSplitterHeight | Gets or sets the height of grid splitters. | FloatingWindows | Gets the floating windows. |
| GridSplitterWidth | Gets or sets the width of grid splitters. | GridSplitterHeight | Gets or sets the height of grid splitters. |
| IconContentTemplate | Gets or sets the data template to use on the icon extracted from the layout model. | GridSplitterWidth | Gets or sets the width of grid splitters. |
| IconContentTemplateSelector | Gets or sets the data template selector to use when selecting the datatamplate for content icons. | IconContentTemplate | Gets or sets the data template to use on the icon extracted from the layout model. |
| Layout | Gets or sets the root of the layout tree. | IconContentTemplateSelector | Gets or sets the data template selector to use when selecting the datatamplate for content icons. |
| LayoutItemContainerStyle | Gets or sets the style to apply to LayoutDocumentItem objects. | Layout | Gets or sets the root of the layout tree. |
| LayoutItemContainerStyleSelector | Gets or sets the style selector of LayoutDocumentItemStyle. | LayoutItemContainerStyle | Gets or sets the style to apply to LayoutDocumentItem objects. |
| LayoutItemTemplate | Gets or sets the template used to render anchorable and document content. | LayoutItemContainerStyleSelector | Gets or sets the style selector of LayoutDocumentItemStyle. |
| LayoutItemTemplateSelector | Gets or sets the template selector to use for anchorable and document templates. | LayoutItemTemplate | Gets or sets the template used to render anchorable and document content. |
| LayoutRootPanel | Gets or sets the layout panel control which is attached to the Layout.Root property. | LayoutItemTemplateSelector | Gets or sets the template selector to use for anchorable and document templates. |
| LayoutUpdateStrategy | Gets or sets the strategy class to call when AvalonDock needs to position an anchorable inside an existing layout model. | LayoutRootPanel | Gets or sets the layout panel control which is attached to the Layout.Root property. |
| LeftSidePanel | Gets or sets the left side panel control. | LayoutUpdateStrategy | Gets or sets the strategy class to call when AvalonDock needs to position an anchorable inside an existing layout model. |
| RightSidePanel | Gets or sets the right side panel control. | LeftSidePanel | Gets or sets the left side panel control. |
| ShowSystemMenu | Gets or sets whether floating windows should show the system menu when a custom context menu is not defined. | RightSidePanel | Gets or sets the right side panel control. |
| Theme | Gets or sets the theme to use for AvalonDock controls. | ShowSystemMenu | Gets or sets whether floating windows should show the system menu when a custom context menu is not defined. |
| TopSidePanel | Gets or sets the top side panel control. | Theme | Gets or sets the theme to use for AvalonDock controls. |
| TopSidePanel | Gets or sets the top side panel control. |
## Events ### Events
|| Event || Description | Event | Description |
| ActiveContentChanged | Raised when ActiveContent changes. | --- | --- |
| DocumentClosed | Raised after a document is closed. | ActiveContentChanged | Raised when ActiveContent changes. |
| DocumentClosing | Raised when a document is about to be closed. | DocumentClosed | Raised after a document is closed. |
| LayoutChanged | Raised when Layout changes. | DocumentClosing | Raised when a document is about to be closed. |
| LayoutChanging | Raised when Layout is about to be changed. | LayoutChanged | Raised when Layout changes. |
| LayoutChanging | Raised when Layout is about to be changed. |
## Methods ### Methods
|| Method || Description | Method | Description |
| GetLayoutItemFromModel | Returns the LayoutItem wrapper for the content passed as argument. | --- | --- |
| OnApplyTemplate | Overridden. Invoked whenever application code or internal processes call ApplyTemplate, setting up AutoHideWindow. | GetLayoutItemFromModel | Returns the LayoutItem wrapper for the content passed as argument. |
| OnApplyTemplate | Overridden. Invoked whenever application code or internal processes call ApplyTemplate, setting up AutoHideWindow. |
**Support this project, check out the [Plus Edition](http://wpftoolkit.com).** ---
--- **Support this project, check out the [Plus Edition](http://wpftoolkit.com).**
Loading…
Cancel
Save