Show / Hide Table of Contents

Class DockManager

Provides a set of static methods and attached properties to manage docking behaviors.

Inheritance
System.Object
DockManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: DevZest.Windows.Docking.Primitives
Assembly: DevZest.WpfDocking.dll
Syntax
public static class DockManager
Remarks

By default, the DevZest.Windows.Docking.Primitives.DockManager.IsEnabled attached property of DockControl is set to true. If you change this value, you must provide all the implementation.

DockManager class handles how floating windows are displayed. When running under partial trust, WpfFloatingWindow will be used; otherwise NativeFloatingWindow will be used. You can get the value from DevZest.Windows.Docking.Primitives.DockManager.FloatingWindowStrategy attached property of DockControl.

DockManager class handles drag and drop through the following attached properties:

Fields

Name Description
CanDragProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.CanDrag attached property.

DefaultFloatingPreviewSizeProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.DefaultFloatingPreviewSize attached property.

FloatingPreviewHeightProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewHeight attached property.

FloatingPreviewLeftProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewLeft attached property.

FloatingPreviewTopProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewTop attached property.

FloatingPreviewWidthProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewWidth attached property.

FloatingWindowStrategyProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.FloatingWindowStrategy attached property.

IsEnabledProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.IsEnabled attached property.

IsShiftKeyDownProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.IsShiftKeyDown attached property.

OverlayProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.Overlay attached property.

PreviewProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.Preview attached property.

ShowsBottomGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsBottomGuide attached property.

ShowsFillGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsFillGuide attached property.

ShowsGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsGuide attached property.

ShowsLeftGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsLeftGuide attached property.

ShowsRightGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsRightGuide attached property.

ShowsTopGuideProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.ShowsTopGuide attached property.

TargetItemProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.TargetItem attached property.

TargetPositionProperty

Identifies the DevZest.Windows.Docking.Primitives.DockManager.TargetPosition attached property.

Methods

Name Description
GetCanDrag(DependencyObject)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.CanDrag attached property from a given element.

GetDefaultFloatingPreviewSize(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.DefaultFloatingPreviewSize attached property from a given DockControl.

GetFloatingPreviewHeight(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewHeight attached property from a given DockControl.

GetFloatingPreviewLeft(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewLeft attached property from a given DockControl.

GetFloatingPreviewTop(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewTop attached property from a given DockControl.

GetFloatingPreviewWidth(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.FloatingPreviewWidth attached property from a given DockControl.

GetFloatingWindowStrategy(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.FloatingWindowStrategy attached property from a given DockControl.

GetIsEnabled(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.IsEnabled attached property from a given DockControl.

GetIsShiftKeyDown(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.IsShiftKeyDown attached property from a given DockControl.

GetOverlay(FrameworkElement)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.Overlay attached property from a given System.Windows.FrameworkElement.

GetPreview(DependencyObject)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.Preview attached property from a given element.

GetShowsBottomGuide(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsBottomGuide attached property from a given DockControl.

GetShowsFillGuide(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsFillGuide attached property from a given DockControl.

GetShowsGuide(DependencyObject)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsGuide attached property from a given element.

GetShowsLeftGuide(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsLeftGuide attached property from a given DockControl.

GetShowsRightGuide(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsRightGuide attached property from a given DockControl.

GetShowsTopGuide(DockControl)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.ShowsTopGuide attached property from a given DockControl.

GetTargetItem(DependencyObject)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.TargetItem attached property from a given element.

GetTargetPosition(DependencyObject)

Gets the value of DevZest.Windows.Docking.Primitives.DockManager.TargetPosition attached property from a given element.

SetCanDrag(DependencyObject, Boolean)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.CanDrag attached property for a given element.

SetDefaultFloatingPreviewSize(DockControl, Size)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.DefaultFloatingPreviewSize attached property for a given DockControl.

SetIsEnabled(DockControl, Boolean)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.IsEnabled attached property for a given DockControl.

SetOverlay(FrameworkElement, Overlay)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.Overlay attached property for a given System.Windows.FrameworkElement.

SetTargetItem(DependencyObject, DockItem)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.TargetItem attached property for a given element.

SetTargetPosition(DependencyObject, DropPosition)

Sets the value of DevZest.Windows.Docking.Primitives.DockManager.TargetPosition attached property for a given element.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest