Represents a root host that can contain a docking window hierarchy.
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control object
- Implements:
-
IDock
Target
Constructors
DockHost()
Initializes an instance of the DockHost
class.
Properties
AutoHideBottomContainers
Gets the collection of Tool
Property Value
- Tool
Window :Container Collection The collection of Tool
Window items that appear in the bottom auto-hide tabstrip.Container
AutoHideLeftContainers
Gets the collection of Tool
Property Value
- Tool
Window :Container Collection The collection of Tool
Window items that appear in the left auto-hide tabstrip.Container
AutoHidePopupToolWindow
Gets the Tool
Property Value
- Tool
Window : The Tool
Window that is currently open in the auto-hide popup, if any.
AutoHideRightContainers
Gets the collection of Tool
Property Value
- Tool
Window :Container Collection The collection of Tool
Window items that appear in the right auto-hide tabstrip.Container
AutoHideTabItemTemplate
Gets or sets the Data
Property Value
- Data
Template : The Data
Template to use for rendering the auto-hide tab items.
AutoHideTabItemTemplateSelector
Gets or sets the Data
Property Value
- Data
Template :Selector The Data
Template to use for rendering the auto-hide tab items.Selector
AutoHideTopContainers
Gets the collection of Tool
Property Value
- Tool
Window :Container Collection The collection of Tool
Window items that appear in the top auto-hide tabstrip.Container
Child
Gets or sets the Framework
Property Value
- Framework
Element : The Framework
Element that is the child content of this container.
DockSite
Gets the Dock
Icon
Gets the icon Image
Property Value
- Image
Source : The icon Image
Source for a window that contains this dock host.
Remarks
This property value is based on the Floating
IsAutoHidePopupOpen
Gets whether the auto-hide popup is currently open.
Property Value
- bool:
true
if the auto-hide popup is currently open; otherwise,false
.
LogicalChildren
Gets an enumerator for logical child elements of this element.
Property Value
- IEnumerator:
An enumerator for logical child elements of this element.
MdiHost
Gets the Tabbed
Property Value
- Mdi
Host :Base The Tabbed
Mdi or StandardHost Mdi that is currently in use, if any.Host
SplitterSize
Gets or sets the size of splitters.
Property Value
- double:
The size of splitters. The default value is
5
.
Title
Gets the title text for a window that contains this dock host.
Property Value
- string:
The title text for a window that contains this dock host.
Remarks
This property value is based on the Floating
UniqueId
Gets the Guid that uniquely identifies the control.
Property Value
Remarks
A new Guid value is assigned to this property every time the application is run.
Workspace
Gets the Workspace, if any, that is in the dock host.
Methods
ArrangeOverride(Size)
When overridden in a derived class, positions child elements and determines a size for a Framework
Parameter | Type | Description |
---|---|---|
finalSize | Size | The final area within the parent that this element should use to arrange itself and its children. |
Returns
- Size:
The actual size used.
CloseAutoHidePopup(bool, bool)
Closes the auto-hide popup.
Parameter | Type | Description |
---|---|---|
closeImmediately | bool | Whether to close the popup immediately. |
blurFocus | bool | Whether to blur focus. |
GetVisibleToolWindowContainerCount(bool)
Returns the count of visible Tool
Parameter | Type | Description |
---|---|---|
includeAutoHiddenContainers | bool | Whether to include auto-hidden containers. |
Returns
- int:
The count of visible Tool
Window controls in the container's hierarchy.Container
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
OnCreateAutomationPeer()
Returns an Automation
Returns
- Automation
Peer : An Automation
Peer instance.
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
Reports that the IsKeyboardFocusWithin
property changed.
Parameter | Type | Description |
---|---|---|
e | DependencyPropertyChangedEventArgs | A |
OnKeyDown(KeyEventArgs)
Occurs when a key is pressed.
Parameter | Type | Description |
---|---|---|
e | Key |
The Key |
OnPreviewKeyDown(KeyEventArgs)
Occurs when a key is pressed.
Parameter | Type | Description |
---|---|---|
e | Key |
The Key |
OnRenderSizeChanged(SizeChangedInfo)
Occurs when the control's size is changed.
Parameter | Type | Description |
---|---|---|
sizeInfo | Size |
The size change info. |
ToString()
Returns a String
that represents the current Object
.
Returns
- string:
A
String
that represents the currentObject
.
Fields
AutoHidePopupToolWindowProperty
Identifies the Auto
AutoHideTabItemTemplateProperty
Identifies the Auto
AutoHideTabItemTemplateSelectorProperty
Identifies the Auto
ChildProperty
Identifies the Child dependency property. This field is read-only.
IconProperty
Identifies the Icon dependency property. This field is read-only.
SplitterSizeProperty
Identifies the Splitter
TitleProperty
Identifies the Title dependency property. This field is read-only.
UniqueIdProperty
Identifies the UniqueId
dependency property. This field is read-only.