MindFusion.Silverlight Package 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.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

DockIndicatorBackgroundProperty

Identifies the DockIndicatorBackground dependency property.

DockIndicatorBorderBrushProperty

Identifies the DockIndicatorBorderBrush dependency property.

DockIndicatorBorderThicknessProperty

Identifies the DockIndicatorBorderThickness 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.

ItemContainerBackgroundProperty

Identifies the ItemContainerBackground dependency property.

ItemSpacingProperty

Identifies the ItemSpacing dependency property.

MinimumItemSizeProperty

Identifies the MinimumItemSize dependency property.

PanelOffsetProperty

Identifies the PanelOffset dependency property.

RelativeDropSizeProperty

Identifies the RelativeDropSize dependency property.

TabBackgroundProperty

Identifies the TabBackground dependency property.

TabBorderBrushProperty

Identifies the TabBorderBrush 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.

CornerRadius

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

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.

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.

ItemContainerBackground

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

ItemSpacing

Gets or sets the distance between adjacent docked items. This is a dependency property.

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.

TabBackground

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

TabBorderBrush

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

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.

GetAllItems

Returns a list with all items in the DockControl.

Load

Restores the last saved state of the control.

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.

 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.

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.

ItemStateChanged

Raised when the state of an item has changed.

 See Also

DockControl Class
MindFusion.UI.Silverlight Namespace