MindFusion.Wpf Pack Programmer's Guide
DockControl Members
Constructors Fields Properties Methods Events
 


Enables docking of user interface elements.

The following tables list the members exposed by the DockControl type.

 Public Constructors

  Name Description

DockControl

Initializes a new instance of the DockControl class.

 Public Fields

  Name Description

AllowedDockLocationsProperty

Identifies the AllowedDockLocations dependency property.

AnimateWindowsProperty

Identifies the AnimateWindows dependency property.

AutoHideWindowStyleProperty

Identifies the AutoHideWindowStyle dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

DockContainerStyleProperty

Identifies the DockContainerStyle dependency property.

DockIndicatorBackgroundProperty

Identifies the DockIndicatorBackground dependency property.

DockIndicatorBorderBrushProperty

Identifies the DockIndicatorBorderBrush dependency property.

DockIndicatorBorderThicknessProperty

Identifies the DockIndicatorBorderThickness dependency property.

DockWindowStyleProperty

Identifies the DockWindowStyle dependency property.

EnableAnimationsProperty

Identifies the EnableAnimations dependency property.

FloatWindowStyleProperty

Identifies the FloatWindowStyle dependency property.

HandlersBackgroundProperty

Identifies the HandlersBackground dependency property.

HandlersBorderBrushProperty

Identifies the HeaderBorderBrush dependency property.

HandlersBorderThicknessProperty

Identifies the HandlersBorderThickness dependency property.

HandlersOverBackgroundProperty

Identifies the HandlersOverBackground dependency property.

HandlersPressedBackgroundProperty

Identifies the HandlersPressedBackground dependency property.

InnerHandlersStyleProperty

Identifies the InnerHandlersStyle dependency property.

ItemContainerBackgroundProperty

Identifies the ItemContainerBackground dependency property.

ItemSpacingProperty

Identifies the ItemSpacing dependency property.

MinDockSizeProperty

Identifies the MinDockSize dependency property.

MinimumItemSizeProperty

Identifies the MinimumItemSize dependency property.

PanelOffsetProperty

Identifies the PanelOffset dependency property.

RelativeDropSizeProperty

Identifies the RelativeDropSize dependency property.

SideHandlersStyleProperty

Identifies the SideHandlersStyle dependency property.

TabBackgroundProperty

Identifies the TabBackground dependency property.

TabbedDocumentStyleProperty

Identifies the TabbedDocumentStyle dependency property.

TabBorderBrushProperty

Identifies the TabBorderBrush dependency property.

TabDocumentLayoutProperty

Identifies the TabDocumentLayout dependency property.

TabOverBackgroundProperty

Identifies the TabOverBackground dependency property.

TabPressedBackgroundProperty

Identifies the TabPressedBackground dependency property.

TabSelectedBackgroundProperty

Identifies the TabSelectedBackground dependency property.

 Public Properties

  Name Description

AllowedDockLocations

Gets or sets the possible dock locations inside this control. This is a dependency property.

AnimateWindows

Gets or sets a value indicating whether the operations on the items inside this control are animated. This is a dependency property.

AutoHideWindowStyle

Gets or sets the style of autohide windows.

CornerRadius

Gets or sets the roundness of the frame edges of this dock control. This is a dependency property.

DockContainerStyle

Gets or sets the style of dock containers.

DockIndicatorBackground

Gets or sets the background of the dock indicator areas. This is a dependency property.

DockIndicatorBorderBrush

Gets or sets the border brush of the dock indicator areas. This is a dependency property.

DockIndicatorBorderThickness

Gets or sets the border thickness of the dock indicator areas. This is a dependency property.

DockWindowStyle

Gets or sets the style of dock windows.

EnableAnimations

Allow interaction animations.

FloatWindowStyle

Gets or sets the style of float windows.

HandlersBackground

Gets or sets the background of the dock handlers and buttons. This is a dependency property.

HandlersBorderBrush

Gets or sets the border brush of the dock handlers and buttons. This is a dependency property.

HandlersBorderThickness

Gets or sets the border thickness of the dock handlers and buttons. This is a dependency property.

HandlersOverBackground

Gets or sets the background of the dock handlers and buttons when they are pointed with the mouse. This is a dependency property.

HandlersPressedBackground

Gets or sets the background of the dock handlers and buttons when they are pressed. This is a dependency property.

InnerHandlersStyle

Gets or sets the style of inner dock handlers.

ItemContainerBackground

Gets or sets the background of container dock items. This is a dependency property.

ItemSpacing

Gets or sets the size of the splitters.

LicenseKey

Gets or sets the license key of the control.

MinDockSize

Gets or sets the minimum size of the dock windows.

MinimumItemSize

Gets or sets the minimum size of the docked items. This is a dependency property.

PanelOffset

Gets or sets the portions of the control that are occupied by docked items. This is a dependency property.

RelativeDropSize

Gets or sets default size of items docked inside this DockControl, expressed as percentage of the control's size. This is a dependency property.

SideHandlersStyle

Gets or sets the style of side dock handlers.

TabBackground

Gets or sets the background of tab items. This is a dependency property.

TabbedDocumentStyle

Gets or sets the style of tabbed documents.

TabBorderBrush

Gets or sets the border brush of tab items. This is a dependency property.

TabDocumentLayout

Gets or sets the layout orientation of the tabbed documents.

TabOverBackground

Gets or sets the background of tab items pointed with the mouse. This is a dependency property.

TabPressedBackground

Gets or sets the background of pressed tab items. This is a dependency property.

TabSelectedBackground

Gets or sets the background of selected tab items. This is a dependency property.

 Public Methods

  Name Description

AddItem

Adds the specified item to the DockControl. The initial positioning of the item is determined by its DockTarget and State properties.

GetAllDockItems

Get all dock elements in visual tree of the control.

GetAllItems

Returns a list with all items in the DockControl.

Load

Restores the last saved state of the control.

LoadFromXml

Overloaded.  

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

RemoveAllItems

Removes all items form the DockControl.

RemoveItem

Removes the specified item from the DockControl.

Save

Saves the current state of the control.

SaveToXml

Overloaded.  

StartInit

Start initialization of the MindFusion.UI.Wpf.DockControl

StopInit

End initialization of the MindFusion.UI.Wpf.DockControl

UpdateControl

Update all elements in the MindFusion.UI.Wpf.DockControl

 Protected Methods

  Name Description

GetContainerForItemOverride

ItemsControl.GetContainerForItemOverride override.

IsItemItsOwnContainerOverride

ItemsControl.IsItemItsOwnContainerOverride override.

OnClosed

Raises the Closed event.

OnClosing

Raises the Closing event.

OnDockCompleted

Raises the DockCompleted event.

OnDockStarted

Raises the DockStarted event.

OnDragCompleted

Raises the DragCompleted event.

OnDragStarted

Raises the DragStarted event.

OnItemsChanged

ItemsControl.OnItemsChanged override.

OnItemStateChanged

Raises the ItemStateChanged event.

OnMouseLeftButtonDown

UIElement.OnMouseLeftButtonDown override.

OnMouseLeftButtonUp

UIElement.OnMouseLeftButtonUp override.

OnMouseMove

UIElement.OnMouseMove override.

OnPreviewMouseDown

UIElement.OnPreviewMouseDown override.

OnPreviewMouseMove

UIElement.OnPreviewMouseMove override.

OnPreviewMouseUp

UIElement.OnPreviewMouseUp override.

PrepareContainerForItemOverride

ItemsControl.PrepareContainerForItemOverride override.

 Public Events

  Name Description

Closed

Raised when a DockItem is closed.

Closing

Raised before the DockItem is closed in order to confirm the operation.

DockCompleted

Raised when an item has been docked.

DockStarted

Raised when the user is about to dock an item.

DragCompleted

Raised when a drag operation is completed.

DragStarted

Raised when the user initiates a drag operation.

ItemClosing

 

ItemLoading

Raised for each DockItem when the control is loaded from a file.

ItemSelected

 

ItemStateChanged

Raised when the state of an item has changed.

WindowDocking

 

WindowUndocking

 

 See Also

DockControl Class
MindFusion.UI.Wpf Namespace