In This Article

DockSite Class

Represents a dock site, the root control for docking window host functionality.

[TemplatePart(Name = "PART_AdornmentHost", Type = typeof(Panel))]
[TemplatePart(Name = "PART_DockHost", Type = typeof(DockHost))]
public class DockSite : Control, IDockTarget
Inheritance:
object Visual UIElement FrameworkElement Control object
Implements:
IDockTarget

Constructors

DockSite()

Initializes an instance of the class.

public DockSite()

Properties

ActivateNextDocumentCommand

The ICommand that can activate the next document.

public ICommand ActivateNextDocumentCommand { get; }

Property Value

ICommand

ActivateNextTabCommand

The ICommand that can activate the next tab.

public ICommand ActivateNextTabCommand { get; }

Property Value

ICommand

ActivatePreviousDocumentCommand

The ICommand that can activate the previous document.

public ICommand ActivatePreviousDocumentCommand { get; }

Property Value

ICommand

ActivatePreviousTabCommand

The ICommand that can activate the previous tab.

public ICommand ActivatePreviousTabCommand { get; }

Property Value

ICommand

ActivatePrimaryDocumentCommand

The ICommand that can activate the primary document.

public ICommand ActivatePrimaryDocumentCommand { get; }

Property Value

ICommand

ActiveWindow

The DockingWindow that is currently active.

public DockingWindow? ActiveWindow { get; }

Property Value

DockingWindow

Remarks

Only one docking window can be active at any given time.

AreDocumentWindowsDestroyedOnClose

Indicates whether document windows are automatically destroyed (removed from the DockSite) when closed.

public bool AreDocumentWindowsDestroyedOnClose { get; set; }

Property Value

bool:

The default value is true.

AreNewTabsInsertedBeforeExistingTabs

Indicates whether new tabs are inserted before existing tabs when they are added, such as when dragging and attaching a tool window to an existing tool window container.

public bool AreNewTabsInsertedBeforeExistingTabs { get; set; }

Property Value

bool:

The default value is true.

AutoHideBottomContainers

The collection of ToolWindowContainer items that appear in the primary bottom auto-hide tabstrip.

public ToolWindowContainerCollection AutoHideBottomContainers { get; }

Property Value

ToolWindowContainerCollection

AutoHideLeftContainers

The collection of ToolWindowContainer items that appear in the primary left auto-hide tabstrip.

public ToolWindowContainerCollection AutoHideLeftContainers { get; }

Property Value

ToolWindowContainerCollection

AutoHidePerContainer

Indicates whether auto-hide state toggles affect all the windows in the parent ToolWindowContainer.

public bool AutoHidePerContainer { get; set; }

Property Value

bool:

The default value is true.

AutoHidePopupCloseAnimationDuration

The duration, in milliseconds, of the animation that is applied to an auto-hide popup close.

public double AutoHidePopupCloseAnimationDuration { get; set; }

Property Value

double:

The default value is 150.

AutoHidePopupCloseDelay

The duration, in milliseconds, of the delay between when the pointer leaves an auto-hide popup and when the popup closes if the pointer has not moved back over the popup.

public double AutoHidePopupCloseDelay { get; set; }

Property Value

double:

The default value is 500.

AutoHidePopupClosesOnLostFocus

Indicates whether the auto-hide popup closes when keyboard focus is moved outside of the popup.

public bool AutoHidePopupClosesOnLostFocus { get; set; }

Property Value

bool:

The default value is true.

Remarks

This property can be temporarily set to false while a dialog window is displayed from a tool window that is currently within an auto-hide popup. This prevents the popup from closing while the dialog is displayed.

AutoHidePopupOpenAnimationDuration

The duration, in milliseconds, of the animation that is applied to an auto-hide popup open.

public double AutoHidePopupOpenAnimationDuration { get; set; }

Property Value

double:

The default value is 150.

AutoHidePopupOpenDelay

The duration, in milliseconds, of the delay between when the pointer moves over an auto-hide tab item and the auto-hide popup opens to display the tool window represented by the tab item.

public double AutoHidePopupOpenDelay { get; set; }

Property Value

double:

The default value is 200.

AutoHidePopupOpensOnMouseHover

Indicates whether the auto-hide popup displays when the mouse hovers over an auto-hide tab item.

public bool AutoHidePopupOpensOnMouseHover { get; set; }

Property Value

bool:

The default value is false for most themes, but may be true for some themes.

AutoHideRightContainers

The collection of ToolWindowContainer items that appear in the primary right auto-hide tabstrip.

public ToolWindowContainerCollection AutoHideRightContainers { get; }

Property Value

ToolWindowContainerCollection

AutoHideTabItemTemplate

The DataTemplate to use for rendering the auto-hide tab items.

public DataTemplate? AutoHideTabItemTemplate { get; set; }

Property Value

DataTemplate

AutoHideTabItemTemplateSelector

The DataTemplateSelector to use for rendering the auto-hide tab items.

public DataTemplateSelector? AutoHideTabItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector

AutoHideTopContainers

The collection of ToolWindowContainer items that appear in the primary top auto-hide tabstrip.

public ToolWindowContainerCollection AutoHideTopContainers { get; }

Property Value

ToolWindowContainerCollection

CanDocumentWindowsClose

The global setting for whether document windows can be closed.

public bool CanDocumentWindowsClose { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects document windows whose CanClose property is set to null. Any other setting on the document window instance overrides this global setting.

CanDocumentWindowsDragToLinkedDockSites

The global setting for whether document windows may be dragged to a linked DockSite.

public bool CanDocumentWindowsDragToLinkedDockSites { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects document windows whose CanDragToLinkedDockSites property is set to null. Any other setting on the document window instance overrides this global setting.

CanDocumentWindowsFloat

The global setting for whether document windows may be contained in a floating window.

public bool CanDocumentWindowsFloat { get; set; }

Property Value

bool:

The default value is false.

Remarks

This setting only affects document windows whose CanFloat property is set to null. Any other setting on the document window instance overrides this global setting.

CanFloatingDockHostsHideOnDockSiteUnload

Indicates whether FloatingDockHosts should hide when the DockSite is unloaded, such as in nested DockSite scenarios when the parent tab is deselected.

public bool CanFloatingDockHostsHideOnDockSiteUnload { get; set; }

Property Value

bool:

The default value is true.

CanToolWindowTabsDrag

The global setting for whether tool window tabs may be dragged to another location.

public bool CanToolWindowTabsDrag { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanDragTab property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsAttach

The global setting for whether tool windows may be attached to another tool window, creating a tabbed grouping.

public bool CanToolWindowsAttach { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanAttach property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsAutoHide

The global setting for whether tool windows may be placed in auto-hide mode.

public bool CanToolWindowsAutoHide { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanAutoHide property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsBecomeDocuments

The global setting for whether tool windows may be placed in a document state.

public bool CanToolWindowsBecomeDocuments { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanBecomeDocument property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsClose

The global setting for whether tool windows can be closed.

public bool CanToolWindowsClose { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanClose property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsCloseOnMiddleClick

A value indicating whether tool windows can be closed by clicking the tab with the middle mouse button.

public bool CanToolWindowsCloseOnMiddleClick { get; set; }

Property Value

bool:

The default value is true.

CanToolWindowsDock

The global setting for whether tool windows can be docked.

public bool CanToolWindowsDock { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanDock property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsDragToFloatingDockHostsWithWorkspaces

Indicates whether tool windows may be dragged to floating dock hosts that contain a workspace.

public bool CanToolWindowsDragToFloatingDockHostsWithWorkspaces { get; set; }

Property Value

bool:

The default value is true.

Remarks

When false, tool windows can still be dragged and docked against floating dock hosts that only contain tool windows.

CanToolWindowsDragToLinkedDockSites

The global setting for whether tool windows may be dragged to a linked DockSite.

public bool CanToolWindowsDragToLinkedDockSites { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanDragToLinkedDockSites property is set to null. Any other setting on the tool window instance overrides this global setting.

CanToolWindowsFloat

The global setting for whether tool windows may be floated into separate top-level containers.

public bool CanToolWindowsFloat { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose CanFloat property is set to null. Any other setting on the tool window instance overrides this global setting.

CanUpdateItemsSourceOnUnregister

Indicates whether to try and remove an item from its items source when the related container DockingWindow is unregistered.

public bool CanUpdateItemsSourceOnUnregister { get; set; }

Property Value

bool:

The default value is true.

Remarks

This feature is only active when using the DocumentItemsSource or ToolItemsSource properties, and the functionality only works if the items source implements IList and is not read-only or a fixed size. Otherwise, the WindowUnregistered event should be monitored and the items source updated manually.

CascadeDocumentsCommand

The ICommand that can cascade the open documents.

public ICommand CascadeDocumentsCommand { get; }

Property Value

ICommand

Child

The FrameworkElement that is the child content of this dock site.

public FrameworkElement? Child { get; set; }

Property Value

FrameworkElement

CloseAllDocumentsCommand

The ICommand that can close all open documents.

public ICommand CloseAllDocumentsCommand { get; }

Property Value

ICommand

ClosePerContainer

Indicates whether close operations affect all the windows in the parent ToolWindowContainer.

public bool ClosePerContainer { get; set; }

Property Value

bool:

The default value is false.

ClosePrimaryDocumentCommand

The ICommand that can close the primary document.

public ICommand ClosePrimaryDocumentCommand { get; }

Property Value

ICommand

DocumentItemContainerStyle

The Style that is applied to the container DockingWindow generated for each document item.

public Style? DocumentItemContainerStyle { get; set; }

Property Value

Style:

The default value is null.

DocumentItemContainerStyleSelector

Custom style-selection logic for a style that can be applied to each generated container DockingWindow.

public StyleSelector? DocumentItemContainerStyleSelector { get; set; }

Property Value

StyleSelector:

The default value is null.

DocumentItemTemplate

The DataTemplate used to display each document item.

public DataTemplate? DocumentItemTemplate { get; set; }

Property Value

DataTemplate:

The default value is null.

DocumentItemTemplateSelector

The custom logic for choosing a template used to display each document item.

public DataTemplateSelector? DocumentItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector:

The default value is null.

DocumentItemsSource

A collection used to generate document windows for use in the DockSite.

public IEnumerable? DocumentItemsSource { get; set; }

Property Value

IEnumerable:

The default value is null.

DocumentWindows

The DocumentWindowCollection of document windows that are currently registered with the DockSite.

public DocumentWindowCollection DocumentWindows { get; }

Property Value

DocumentWindowCollection

Documents

The collection of DockingWindow controls that are currently open in the MDI area.

public ReadOnlyDockingWindowCollection Documents { get; }

Property Value

ReadOnlyDockingWindowCollection

FloatingDockHosts

The collection of floating dock hosts, which are those that are top-level and external to the DockSite hierarchy's primary dock host.

public ReadOnlyObservableCollection<DockHost> FloatingDockHosts { get; }

Property Value

ReadOnlyObservableCollection<DockHost>

FloatingToolWindowContainerTitleBarDoubleClickMode

Indicates what happens when floating ToolWindowContainer controls' title bars are double-clicked.

public FloatingWindowTitleBarDoubleClickMode FloatingToolWindowContainerTitleBarDoubleClickMode { get; set; }

Property Value

FloatingWindowTitleBarDoubleClickMode:

The default value is ToggleMaximized.

FloatingToolWindowContainersHaveMaximizeButtons

Indicates whether floating ToolWindowContainer controls can have title bar maximize buttons.

public bool FloatingToolWindowContainersHaveMaximizeButtons { get; set; }

Property Value

bool:

The default value is true.

Remarks

This property only affects non-hosted floating windows.

FloatingToolWindowContainersHaveMinimizeButtons

Indicates whether floating ToolWindowContainer controls can have title bar minimize buttons.

public bool FloatingToolWindowContainersHaveMinimizeButtons { get; set; }

Property Value

bool:

The default value is false.

Remarks

This property only affects non-hosted floating windows.

FloatingWindowIcon

The ImageSource for floating window icons, which should be set if document windows are allowed to float.

public ImageSource? FloatingWindowIcon { get; set; }

Property Value

ImageSource

Remarks

The value is generally the same as your application icon.

FloatingWindowOwnerMode

A mode that determines when a floating window should be owned by the main window.

public FloatingWindowOwnerMode FloatingWindowOwnerMode { get; set; }

Property Value

FloatingWindowOwnerMode:

The default value is Default.

Remarks

This feature only affects non-hosted floating windows.

FloatingWindowShowInTaskBarMode

A mode that determines when to show floating windows in the taskbar.

public FloatingWindowShowInTaskBarMode FloatingWindowShowInTaskBarMode { get; set; }

Property Value

FloatingWindowShowInTaskBarMode:

The default value is Default.

Remarks

This feature only affects non-hosted floating windows.

FloatingWindowSnapToScreenThreshold

The minimum length of a floating window that must be visible over a screen's edge to avoid snap-to-screen.

public double FloatingWindowSnapToScreenThreshold { get; set; }

Property Value

double:

The default value is 70.0.

Remarks

This feature is only used when the IsFloatingWindowSnapToScreenEnabled property is true. If a floating window is completely beyond the screen edge, it will be fully snapped back onto the screen. If a floating window is only partially beyond the screen edge, but the visible portion is less than this property's value, it will be snapped partially back onto the screen.

FloatingWindowTitle

The main title text for floating windows, which should be set if document windows are allowed to float.

[Localizability(LocalizationCategory.Title)]
public string? FloatingWindowTitle { get; set; }

Property Value

string

Remarks

The value is generally the same as the application name.

See Also

FloatingWindowTitleDelimiter

The floating window title bar delimiter text placed between the primary document title and FloatingWindowTitle, applied as appropriate.

public string? FloatingWindowTitleDelimiter { get; set; }

Property Value

string:

The default value is " - ".

Remarks

This property is only used if there is a primary document in a floating window and FloatingWindowTitle is specified.

See Also

HasDocuments

Indicates whether the DockSite currently has any open documents.

public bool HasDocuments { get; }

Property Value

bool

HostedFloatingWindowContainer

The FrameworkElement whose bounds should be used to restrict the movement of hosted floating windows otherwise null which indicates to use the DockSite itself.

public FrameworkElement? HostedFloatingWindowContainer { get; set; }

Property Value

FrameworkElement

Remarks

The FrameworkElement must be the DockSite or one of it's visual ancestors.

InactiveFloatingWindowFadeDelay

The duration, in milliseconds, of inactivity that must take place for a hosted floating window before it starts to fade out.

public double InactiveFloatingWindowFadeDelay { get; set; }

Property Value

double:

The default value is 20000 (20 seconds).

Remarks

The IsInactiveFloatingWindowFadeEnabled property must be set to true for this property to be used.

InactiveFloatingWindowFadeDuration

The duration, in milliseconds, over which an inactive hosted floating window will fade.

public double InactiveFloatingWindowFadeDuration { get; set; }

Property Value

double:

The default value is 20000 (20 seconds).

Remarks

The IsInactiveFloatingWindowFadeEnabled property must be set to true for this property to be used.

InactiveFloatingWindowFadeOpacity

The target opacity to which inactive hosted floating windows to fade.

public double InactiveFloatingWindowFadeOpacity { get; set; }

Property Value

double:

The default value is 0.25 (25% opacity).

Remarks

The IsInactiveFloatingWindowFadeEnabled property must be set to true for this property to be used.

IsDockGuideAnimationEnabled

Indicates whether dock guide animation is enabled.

public bool IsDockGuideAnimationEnabled { get; set; }

Property Value

bool:

The default value is true.

IsFloatingWindowSnapToScreenEnabled

Indicates whether floating windows are snapped onto the closest screen when displayed via a method other than being dragged.

public bool IsFloatingWindowSnapToScreenEnabled { get; set; }

Property Value

bool:

The default value is true.

Remarks

This feature ensures that floating windows are fully visible on-screen when being programmatically displayed, such as when a layout is loaded.

IsInactiveFloatingWindowFadeEnabled

Indicates whether hosted floating windows will fade out following inactivity.

public bool IsInactiveFloatingWindowFadeEnabled { get; set; }

Property Value

bool:

The default value is true.

Remarks

This option only applied when hosted floating windows are in use.

IsLiveSplittingEnabled

Indicates whether live splitting of docking windows is enabled.

public bool IsLiveSplittingEnabled { get; set; }

Property Value

bool:

The default value is true.

IsTabLayoutAnimationEnabled

Indicates whether animation effects are applied during tab layout, such as when tabs are added or removed.

public bool IsTabLayoutAnimationEnabled { get; set; }

Property Value

bool:

The default value is true.

LinkedDockSites

The linked DockSites, to which registered docking windows can be docked into.

public IEnumerable<DockSite> LinkedDockSites { get; }

Property Value

IEnumerable<DockSite>

MagnetismGapDistance

The distance between windows that are snapped together via magnetism.

public double MagnetismGapDistance { get; set; }

Property Value

double:

The default value is 1.

Remarks

If this value is greater than 0, there will be a gap between windows that are snapped together when magnetism is enabled by the MagnetismSnapDistance property.

MagnetismSnapDistance

The distance at which magnetism begins to snap windows being dragged.

public double MagnetismSnapDistance { get; set; }

Property Value

double:

The default value is 5.

Remarks

If this value is greater than 0, magnetism is enabled. Set it to 0 to disable magnetism. Magnetism tries to snap corners of a window being dragged to other window corners around it. Increase this property's value to increase the range over which the magnetism will work. Magnetism also takes effect when resizing via window borders.

MdiKind

The kind of MDI currently in use.

public MdiKind MdiKind { get; set; }

Property Value

MdiKind:

The default value is None.

PrimaryDockHost

The primary dock host, which is the one that is implicitly created within the DockSite's template.

public DockHost? PrimaryDockHost { get; }

Property Value

DockHost

PrimaryDocument

The DockingWindow that currently is the primary document in the dock site.

public DockingWindow? PrimaryDocument { get; }

Property Value

DockingWindow

Remarks

The primary document is the same as ActiveWindow if the active window is a document. When the ActiveWindow is not a document, then the primary document is the open document that was last activated.

SetMdiKindCommand

The ICommand that can set the MDI kind to the MdiKind enumeration value specified in the command parameter.

public ICommand SetMdiKindCommand { get; }

Property Value

ICommand

SplitterSize

The size of splitters.

public double SplitterSize { get; set; }

Property Value

double:

The default value is 5.

Switcher

The SwitcherBase that will be used to provide window switching capabilities (e.g., Ctrl+Tab).

public SwitcherBase? Switcher { get; set; }

Property Value

SwitcherBase

TileDocumentsHorizontallyCommand

The ICommand that can tile the open documents horizontally.

public ICommand TileDocumentsHorizontallyCommand { get; }

Property Value

ICommand

TileDocumentsVerticallyCommand

The ICommand that can tile the open documents vertically.

public ICommand TileDocumentsVerticallyCommand { get; }

Property Value

ICommand

ToolItemContainerStyle

The Style that is applied to the container DockingWindow generated for each tool item.

public Style? ToolItemContainerStyle { get; set; }

Property Value

Style:

The default value is null.

ToolItemContainerStyleSelector

Custom style-selection logic for a style that can be applied to each generated container DockingWindow.

public StyleSelector? ToolItemContainerStyleSelector { get; set; }

Property Value

StyleSelector:

The default value is null.

ToolItemTemplate

The DataTemplate used to display each tool item.

public DataTemplate? ToolItemTemplate { get; set; }

Property Value

DataTemplate:

The default value is null.

ToolItemTemplateSelector

The custom logic for choosing a template used to display each tool item.

public DataTemplateSelector? ToolItemTemplateSelector { get; set; }

Property Value

DataTemplateSelector:

The default value is null.

ToolItemsSource

A collection used to generate tool windows for use in the DockSite.

public IEnumerable? ToolItemsSource { get; set; }

Property Value

IEnumerable:

The default value is null.

ToolWindowTabItemContainerStyle

The Style to use for rendering the tab item containers in a ToolWindowContainer.

public Style? ToolWindowTabItemContainerStyle { get; set; }

Property Value

Style

ToolWindows

The ToolWindowCollection of tool windows that are currently registered with the DockSite.

public ToolWindowCollection ToolWindows { get; }

Property Value

ToolWindowCollection

ToolWindowsHaveCloseButtons

Indicates whether ToolWindowContainer controls can have title bar close buttons.

public bool ToolWindowsHaveCloseButtons { get; set; }

Property Value

bool:

The default value is true.

ToolWindowsHaveOptionsButtons

Indicates whether ToolWindowContainer controls can have title bar options buttons.

public bool ToolWindowsHaveOptionsButtons { get; set; }

Property Value

bool:

The default value is true.

ToolWindowsHaveTabImages

The global setting for whether tool windows have images on tabs.

public bool ToolWindowsHaveTabImages { get; set; }

Property Value

bool:

The default value is false.

Remarks

This setting does not affect tabbed MDI, since TabbedMdiHost has its own HasTabImages property.

ToolWindowsHaveTitleBarIcons

The global setting for whether tool window title bars display the icon of the selected tool window.

public bool ToolWindowsHaveTitleBarIcons { get; set; }

Property Value

bool:

The default value is false.

ToolWindowsHaveTitleBars

The global setting for whether tool windows display a title bar when not in MDI.

public bool ToolWindowsHaveTitleBars { get; set; }

Property Value

bool:

The default value is true.

Remarks

This setting only affects tool windows whose HasTitleBar property is set to null. Any other setting on the tool window instance overrides this global setting.

ToolWindowsHaveToggleAutoHideButtons

Indicates whether ToolWindowContainer controls can have title bar toggle auto-hide buttons.

public bool ToolWindowsHaveToggleAutoHideButtons { get; set; }

Property Value

bool:

The default value is true.

ToolWindowsSingleTabLayoutBehavior

The global setting for the behavior used when a single tool window is in a container.

public SingleTabLayoutBehavior ToolWindowsSingleTabLayoutBehavior { get; set; }

Property Value

SingleTabLayoutBehavior:

The default value is Hide.

ToolWindowsTabOverflowBehavior

The global setting for the overflow behavior of the tool window tabs.

public TabOverflowBehavior ToolWindowsTabOverflowBehavior { get; set; }

Property Value

TabOverflowBehavior:

The default value is Shrink.

ToolWindowsTabStripPlacement

A dock side indicating the side upon which the tool window tabs are located.

public Side ToolWindowsTabStripPlacement { get; set; }

Property Value

Side:

The default value is Bottom.

ToolWindowsTitleBarContextContentAlignment

The alignment of tool window container title bar context content.

public ContextContentAlignment ToolWindowsTitleBarContextContentAlignment { get; set; }

Property Value

ContextContentAlignment:

The default value is Far.

UseDragFloatPreviews

Indicates whether to use float previews when dragging windows instead of instantly creating floating windows.

public bool UseDragFloatPreviews { get; set; }

Property Value

bool:

The default value is false.

Remarks

This property should be set to true when docking window content contains a large number of elements that may not measure/arrange quickly. When this property is true, fewer layout cycles occur since a float preview is used to show where the floating window will be created instead of instantly moving the dragged windows into a floating window.

UseHostedFloatingWindows

Indicates whether floating windows should be hosted within the bounds of the dock site.

public bool UseHostedFloatingWindows { get; set; }

Property Value

bool:

The default value is false.

UseHostedPopups

Indicates whether popups should be hosted within the bounds of the dock site.

public bool UseHostedPopups { get; set; }

Property Value

bool:

The default value is true.

Remarks

This property should be false only in Windows applications where you expect to host interop (Windows Forms, DirectX, etc.) controls. If you do not plan on hosting interop controls, leave it true.

Methods

ActivateNextDocument()

Activates the next document by selecting it and focusing its content.

public void ActivateNextDocument()

ActivateNextTab()

Activates the next tab in the same container by selecting it and focusing its content.

public void ActivateNextTab()

ActivatePreviousDocument()

Activates the previous document by selecting it and focusing its content.

public void ActivatePreviousDocument()

ActivatePreviousTab()

Activates the previous tab in the same container by selecting it and focusing its content.

public void ActivatePreviousTab()

ActivatePrimaryDocument()

Activates the primary document by focusing its content.

public void ActivatePrimaryDocument()

ApplyContainerStyle(object?, DockingWindow, StyleSelector?, Style?)

Applies the style of the specified container window.

public static void ApplyContainerStyle(object? item, DockingWindow container, StyleSelector? styleSelector, Style? style)
Parameter Type Description
item object

The data item.

container DockingWindow

The container window whose style should be set.

styleSelector StyleSelector

The option style selector.

style Style

The desired specific style.

CascadeDocuments()

Cascades all open documents, if using tabbed or standard MDI.

public void CascadeDocuments()

ClearContainerForItemOverride(DockingWindow, object?, DockingWindowItemKind)

When overridden in a derived class, undoes the effects of the PrepareContainerForItemOverride(DockingWindow, object?, DockingWindowItemKind) method.

protected virtual void ClearContainerForItemOverride(DockingWindow container, object? item, DockingWindowItemKind kind)
Parameter Type Description
container DockingWindow

The container DockingWindow.

item object

The item.

kind DockingWindowItemKind

The kind of the item.

CloseAllDocuments()

Closes all open documents.

public bool CloseAllDocuments()

Returns

bool:

true if all open documents were closed; otherwise, false.

Remarks

Only documents that are closable are closed.

ClosePrimaryDocument()

Closes the primary document.

public bool ClosePrimaryDocument()

Returns

bool:

true if the primary document was closed; otherwise, false.

ContainerFromDocumentItem(object?)

Returns the DocumentWindow corresponding to the given item contained in DocumentItemsSource.

public DocumentWindow? ContainerFromDocumentItem(object? item)
Parameter Type Description
item object

The object item to find the DocumentWindow for.

Returns

DocumentWindow:

A DocumentWindow that corresponds to the given item; otherwise, null indicates the item does not belong to the item collection.

ContainerFromItem(object?)

Returns the DockingWindow corresponding to the given item contained in DocumentItemsSource or ToolItemsSource.

public DockingWindow? ContainerFromItem(object? item)
Parameter Type Description
item object

The object item to find the DockingWindow for.

Returns

DockingWindow:

A DockingWindow that corresponds to the given item; otherwise, null indicates the item does not belong to either item collection.

ContainerFromToolItem(object?)

Returns the ToolWindow corresponding to the given item contained in ToolItemsSource.

public ToolWindow? ContainerFromToolItem(object? item)
Parameter Type Description
item object

The object item to find the ToolWindow for.

Returns

ToolWindow:

A ToolWindow that corresponds to the given item; otherwise, null indicates the item does not belong to the item collection.

CreateDockHost()

Creates and returns a new DockHost.

protected virtual DockHost CreateDockHost()

Returns

DockHost

CreateStandardMdiHost()

Creates and returns a new StandardMdiHost.

protected virtual StandardMdiHost CreateStandardMdiHost()

Returns

StandardMdiHost

CreateTabbedMdiContainer()

Creates and returns a new TabbedMdiContainer.

protected virtual TabbedMdiContainer CreateTabbedMdiContainer()

Returns

TabbedMdiContainer

CreateTabbedMdiHost()

Creates and returns a new TabbedMdiHost.

protected virtual TabbedMdiHost CreateTabbedMdiHost()

Returns

TabbedMdiHost

CreateToolWindowContainer()

Creates and returns a new ToolWindowContainer.

protected virtual ToolWindowContainer CreateToolWindowContainer()

Returns

ToolWindowContainer

CreateWorkspace()

Creates and returns a new Workspace.

protected virtual Workspace CreateWorkspace()

Returns

Workspace

DockSiteRegistryConstructor()

Initializes an instance of the class.

public void DockSiteRegistryConstructor()

GetContainerForItemOverride(DockingWindowItemKind)

Creates or identifies the DockingWindow that is used to display the given item.

protected virtual DockingWindow GetContainerForItemOverride(DockingWindowItemKind kind)
Parameter Type Description
kind DockingWindowItemKind

The kind of the item.

Returns

DockingWindow:

The DockingWindow that is used to display the given item.

GetFloatingDockHostTitle(DockHost)

Returns the title bar text to use for the specified floating DockHost.

protected virtual string? GetFloatingDockHostTitle(DockHost dockHost)
Parameter Type Description
dockHost DockHost

The DockHost to examine.

Returns

string

Remarks

The default implementation of this method will use the title of the selected ToolWindow if there is a single ToolWindowContainer in the DockHost. Otherwise, it combines the dockHost.MdiHost.PrimaryWindow.Title (if there is a primary document in the DockHost), FloatingWindowTitleDelimiter, and FloatingWindowTitle values appropriately. An example result is "Document1.txt - MyApp".

See Also

InitializeAutoHidePopupWindow(Window)

Initializes a Window that contains an auto-hide popup.

protected virtual void InitializeAutoHidePopupWindow(Window window)
Parameter Type Description
window Window

The Window to initialize.

InitializeDockingAdornmentWindow(Window)

Initializes a Window that can host dock guide and dock preview adornments during a docking operation.

protected virtual void InitializeDockingAdornmentWindow(Window window)
Parameter Type Description
window Window

The Window to initialize.

InitializeFloatingWindow(Window)

Initializes a Window that contains a floating DockHost.

protected virtual void InitializeFloatingWindow(Window window)
Parameter Type Description
window Window

The Window to initialize.

IsItemItsOwnContainerOverride(object, DockingWindowItemKind)

Determines if the specified item is (or is eligible to be) its own container.

protected virtual bool IsItemItsOwnContainerOverride(object item, DockingWindowItemKind kind)
Parameter Type Description
item object

The item to check.

kind DockingWindowItemKind

The kind of the item.

Returns

bool:

true if the item is (or is eligible to be) its own container; otherwise, false.

LinkDockSite(DockSite)

Links this DockSite to the specified DockSite and vice versa, allowing docking windows to be seamlessly moved between the dock sites.

public void LinkDockSite(DockSite dockSite)
Parameter Type Description
dockSite DockSite

The DockSite to link.

Remarks

This method will completely link this DockSite to the specified DockSite. There is no need to call LinkDockSite(DockSite) on both DockSites.

See Also

NotifyWindowDragMove(Point)

Notifies that a window drag operation is currently at the specified location.

protected virtual void NotifyWindowDragMove(Point location)
Parameter Type Description
location Point

The new pointer location.

When UseHostedFloatingWindows is true, the location is expressed relative to the containing control; otherwise, the value is the location in screen coordinates (Avalonia) or device independent screen position (WPF).

Remarks

This method's default implementation calls into the internal drag processor that updates dock guides on pointer movement. Ensure that any overrides of this method call the base implementation.

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().

public override void OnApplyTemplate()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

The type-specific AutomationPeer implementation.

OnDocumentItemsSourceChanged(IEnumerable?, IEnumerable?)

Called when the DocumentItemsSource property changes.

protected virtual void OnDocumentItemsSourceChanged(IEnumerable? oldValue, IEnumerable? newValue)
Parameter Type Description
oldValue IEnumerable

Old value of the DocumentItemsSource property.

newValue IEnumerable

New value of the DocumentItemsSource property.

OnFloatingWindowOpening(FloatingWindowOpeningEventArgs)

Called when a floating window is opening, allowing for customization before it is displayed.

protected virtual void OnFloatingWindowOpening(FloatingWindowOpeningEventArgs e)
Parameter Type Description
e FloatingWindowOpeningEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnGotKeyboardFocus(KeyboardFocusChangedEventArgs)

Invoked when an unhandled System.Windows.Input.Keyboard.GotKeyboardFocus attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

protected override void OnGotKeyboardFocus(KeyboardFocusChangedEventArgs e)
Parameter Type Description
e KeyboardFocusChangedEventArgs

The KeyboardFocusChangedEventArgs that contains the event data.

OnInitialized(EventArgs)

Raises the Initialized event. This method is invoked whenever IsInitialized is set to true internally.

protected override void OnInitialized(EventArgs e)
Parameter Type Description
e EventArgs

The RoutedEventArgs that contains the event data.

OnMdiKindChanged(RoutedEventArgs)

Called when the MdiKind property is changed.

protected virtual void OnMdiKindChanged(RoutedEventArgs e)
Parameter Type Description
e RoutedEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnMenuOpening(DockingMenuEventArgs)

Called when a docking-related context menu is opening, allowing for customization before it is displayed.

protected virtual void OnMenuOpening(DockingMenuEventArgs e)
Parameter Type Description
e DockingMenuEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnNewWindowRequested(RoutedEventArgs)

Called when a new DockingWindow is requested, generally via a user click on a new tab button.

protected virtual void OnNewWindowRequested(RoutedEventArgs e)
Parameter Type Description
e RoutedEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnPrimaryDocumentChanged(DockingWindowEventArgs)

Called when the PrimaryDocument property has changed.

protected virtual void OnPrimaryDocumentChanged(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnPropertyChanged(DependencyPropertyChangedEventArgs)

Invoked whenever the effective value of any dependency property on this FrameworkElement has been updated. The specific dependency property that changed is reported in the arguments parameter. Overrides System.Windows.DependencyObject.OnPropertyChanged(System.Windows.DependencyPropertyChangedEventArgs).

protected override void OnPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameter Type Description
e DependencyPropertyChangedEventArgs

The event data that describes the property that changed, as well as old and new values.

OnToolItemsSourceChanged(IEnumerable?, IEnumerable?)

Called when the ToolItemsSource property changes.

protected virtual void OnToolItemsSourceChanged(IEnumerable? oldValue, IEnumerable? newValue)
Parameter Type Description
oldValue IEnumerable

Old value of the ToolItemsSource property.

newValue IEnumerable

New value of the ToolItemsSource property.

OnWindowActivated(DockingWindowEventArgs)

Called after a DockingWindow has been activated.

protected virtual void OnWindowActivated(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowAutoHidePopupClosed(DockingWindowEventArgs)

Called after an auto-hide popup has been closed that displayed a ToolWindow.

protected virtual void OnWindowAutoHidePopupClosed(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowAutoHidePopupOpened(DockingWindowEventArgs)

Called after an auto-hide popup has been opened that displays a ToolWindow.

protected virtual void OnWindowAutoHidePopupOpened(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowDeactivated(DockingWindowEventArgs)

Called after a DockingWindow has been deactivated.

protected virtual void OnWindowDeactivated(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowDefaultLocationRequested(DockingWindowDefaultLocationEventArgs)

Called when a DockingWindow's default location is requested.

protected virtual void OnWindowDefaultLocationRequested(DockingWindowDefaultLocationEventArgs e)
Parameter Type Description
e DockingWindowDefaultLocationEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowRegistered(DockingWindowEventArgs)

Called after a DockingWindow has been registered.

protected virtual void OnWindowRegistered(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowUnregistered(DockingWindowEventArgs)

Called after a DockingWindow has been unregistered.

protected virtual void OnWindowUnregistered(DockingWindowEventArgs e)
Parameter Type Description
e DockingWindowEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsAutoHiding(DockingWindowsAutoHidingEventArgs)

Called before one or more DockingWindow controls are auto-hidden, allowing for side customization.

protected virtual void OnWindowsAutoHiding(DockingWindowsAutoHidingEventArgs e)
Parameter Type Description
e DockingWindowsAutoHidingEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsClosed(DockingWindowsEventArgs)

Called after one or more DockingWindow controls have been closed.

protected virtual void OnWindowsClosed(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsClosing(DockingWindowsEventArgs)

Called before one or more DockingWindow controls are closed, allowing for cancellation of the close.

protected virtual void OnWindowsClosing(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsDockHostChanged(DockingWindowsEventArgs)

Called after one or more DockingWindow controls' DockHost properties have changed.

protected virtual void OnWindowsDockHostChanged(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsDragOver(DockingWindowsDragOverEventArgs)

Called when one or more docking windows are dragged over a new dock target, allowing for certain dock guides to be hidden.

protected virtual void OnWindowsDragOver(DockingWindowsDragOverEventArgs e)
Parameter Type Description
e DockingWindowsDragOverEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsDragged(DockingWindowsEventArgs)

Called after one or more DockingWindow controls are dragged by the end user.

protected virtual void OnWindowsDragged(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsDragging(DockingWindowsEventArgs)

Called before one or more DockingWindow controls are dragged by the end user.

protected virtual void OnWindowsDragging(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsOpened(DockingWindowsEventArgs)

Called after one or more DockingWindow controls have been opened.

protected virtual void OnWindowsOpened(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsOpening(DockingWindowsEventArgs)

Called before one or more DockingWindow controls is opened.

protected virtual void OnWindowsOpening(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

OnWindowsStateChanged(DockingWindowsEventArgs)

Called after one or more DockingWindow controls' states have changed.

protected virtual void OnWindowsStateChanged(DockingWindowsEventArgs e)
Parameter Type Description
e DockingWindowsEventArgs

The event data.

Remarks

This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.

PrepareContainerForItemOverride(DockingWindow, object?, DockingWindowItemKind)

Prepares the specified DockingWindow to display the specified item.

protected virtual void PrepareContainerForItemOverride(DockingWindow container, object? item, DockingWindowItemKind kind)
Parameter Type Description
container DockingWindow

The DockingWindow used to display the specified item.

item object

The item.

kind DockingWindowItemKind

The kind of the item.

ProcessDockHostKeyDown(DockHost, KeyEventArgs)

Processes a key down event from a dock host.

protected virtual void ProcessDockHostKeyDown(DockHost dockHost, KeyEventArgs e)
Parameter Type Description
dockHost DockHost

The DockHost requesting processing.

e KeyEventArgs

The event data.

TileDocumentsHorizontally()

Tiles all open documents horizontally, if using tabbed or standard MDI.

public void TileDocumentsHorizontally()

TileDocumentsVertically()

Tiles all open documents vertically, if using tabbed or standard MDI.

public void TileDocumentsVertically()

ToHierarchyString()

Creates a string that contains a textual representation of the dock site hierarchy, useful for debugging purposes.

public string ToHierarchyString()

Returns

string

UnlinkDockSite(DockSite)

Unlinks this DockSite from the specified DockSite and vice versa.

public void UnlinkDockSite(DockSite dockSite)
Parameter Type Description
dockSite DockSite

The DockSite to unlink.

Remarks

This method will completely unlink this DockSite from the specified DockSite. There is no need to call UnlinkDockSite(DockSite) on both DockSites.

See Also

Events

FloatingWindowOpening

Raised when a floating window is opening, allowing for customization before it is displayed.

public event EventHandler<FloatingWindowOpeningEventArgs> FloatingWindowOpening

Event Type

EventHandler<FloatingWindowOpeningEventArgs>

MdiKindChanged

Raised when the MdiKind property is changed.

public event RoutedEventHandler MdiKindChanged

Event Type

RoutedEventHandler

MenuOpening

Raised when a docking-related context menu is opening, allowing for customization before it is displayed.

public event EventHandler<DockingMenuEventArgs> MenuOpening

Event Type

EventHandler<DockingMenuEventArgs>

NewWindowRequested

Raised when a new DockingWindow is requested, generally via a user click on a new tab button.

public event RoutedEventHandler NewWindowRequested

Event Type

RoutedEventHandler

PrimaryDocumentChanged

Raised when the PrimaryDocument property has changed.

public event EventHandler<DockingWindowEventArgs> PrimaryDocumentChanged

Event Type

EventHandler<DockingWindowEventArgs>

WindowActivated

Raised after a DockingWindow has been activated.

public event EventHandler<DockingWindowEventArgs> WindowActivated

Event Type

EventHandler<DockingWindowEventArgs>

WindowAutoHidePopupClosed

Raised after an auto-hide popup has been closed that displayed a ToolWindow.

public event EventHandler<DockingWindowEventArgs> WindowAutoHidePopupClosed

Event Type

EventHandler<DockingWindowEventArgs>

WindowAutoHidePopupOpened

Raised after an auto-hide popup has been opened that displays a ToolWindow.

public event EventHandler<DockingWindowEventArgs> WindowAutoHidePopupOpened

Event Type

EventHandler<DockingWindowEventArgs>

WindowDeactivated

Raised after a DockingWindow has been deactivated.

public event EventHandler<DockingWindowEventArgs> WindowDeactivated

Event Type

EventHandler<DockingWindowEventArgs>

WindowDefaultLocationRequested

Raised when a DockingWindow's default location is requested.

public event EventHandler<DockingWindowDefaultLocationEventArgs> WindowDefaultLocationRequested

Event Type

EventHandler<DockingWindowDefaultLocationEventArgs>

Remarks

The handler should examine the event arguments and set the Target and/or Side properties as appropriate.

WindowRegistered

Raised after a DockingWindow has been registered.

public event EventHandler<DockingWindowEventArgs> WindowRegistered

Event Type

EventHandler<DockingWindowEventArgs>

WindowUnregistered

Raised after a DockingWindow has been unregistered.

public event EventHandler<DockingWindowEventArgs> WindowUnregistered

Event Type

EventHandler<DockingWindowEventArgs>

WindowsAutoHiding

Raised before one or more DockingWindow controls are auto-hidden, allowing for side customization.

public event EventHandler<DockingWindowsAutoHidingEventArgs> WindowsAutoHiding

Event Type

EventHandler<DockingWindowsAutoHidingEventArgs>

WindowsClosed

Raised after one or more DockingWindow controls have been closed.

public event EventHandler<DockingWindowsEventArgs> WindowsClosed

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsClosing

Raised before one or more DockingWindow controls are closed, allowing for cancellation of the close.

public event EventHandler<DockingWindowsEventArgs> WindowsClosing

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsDockHostChanged

Raised after one or more DockingWindow controls' DockHost properties have changed.

public event EventHandler<DockingWindowsEventArgs> WindowsDockHostChanged

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsDragOver

Raised when one or more docking windows are dragged over a new dock target, allowing for certain dock guides to be hidden.

public event EventHandler<DockingWindowsDragOverEventArgs> WindowsDragOver

Event Type

EventHandler<DockingWindowsDragOverEventArgs>

WindowsDragged

Raised after one or more DockingWindow controls are dragged by the end user.

public event EventHandler<DockingWindowsEventArgs> WindowsDragged

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsDragging

Raised before one or more DockingWindow controls are dragged by the end user.

public event EventHandler<DockingWindowsEventArgs> WindowsDragging

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsOpened

Raised after one or more DockingWindow controls have been opened.

public event EventHandler<DockingWindowsEventArgs> WindowsOpened

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsOpening

Raised before one or more DockingWindow controls is opened.

public event EventHandler<DockingWindowsEventArgs> WindowsOpening

Event Type

EventHandler<DockingWindowsEventArgs>

WindowsStateChanged

Raised after one or more DockingWindow controls' states have changed.

public event EventHandler<DockingWindowsEventArgs> WindowsStateChanged

Event Type

EventHandler<DockingWindowsEventArgs>

Fields

ActiveWindowProperty

Defines the ActiveWindow property.

public static readonly DependencyProperty ActiveWindowProperty

AreDocumentWindowsDestroyedOnCloseProperty

Defines the AreDocumentWindowsDestroyedOnClose property.

public static readonly DependencyProperty AreDocumentWindowsDestroyedOnCloseProperty

AreNewTabsInsertedBeforeExistingTabsProperty

public static readonly DependencyProperty AreNewTabsInsertedBeforeExistingTabsProperty

AutoHidePerContainerProperty

Defines the AutoHidePerContainer property.

public static readonly DependencyProperty AutoHidePerContainerProperty

AutoHidePopupCloseAnimationDurationProperty

public static readonly DependencyProperty AutoHidePopupCloseAnimationDurationProperty

AutoHidePopupCloseDelayProperty

Defines the AutoHidePopupCloseDelay property.

public static readonly DependencyProperty AutoHidePopupCloseDelayProperty

AutoHidePopupClosesOnLostFocusProperty

Defines the AutoHidePopupClosesOnLostFocus property.

public static readonly DependencyProperty AutoHidePopupClosesOnLostFocusProperty

AutoHidePopupOpenAnimationDurationProperty

Defines the AutoHidePopupOpenAnimationDuration property.

public static readonly DependencyProperty AutoHidePopupOpenAnimationDurationProperty

AutoHidePopupOpenDelayProperty

Defines the AutoHidePopupOpenDelay property.

public static readonly DependencyProperty AutoHidePopupOpenDelayProperty

AutoHidePopupOpensOnMouseHoverProperty

Defines the AutoHidePopupOpensOnMouseHover property.

public static readonly DependencyProperty AutoHidePopupOpensOnMouseHoverProperty

AutoHideTabItemTemplateProperty

Defines the AutoHideTabItemTemplate property.

public static readonly DependencyProperty AutoHideTabItemTemplateProperty

AutoHideTabItemTemplateSelectorProperty

Defines the AutoHideTabItemTemplateSelector property.

public static readonly DependencyProperty AutoHideTabItemTemplateSelectorProperty

CanDocumentWindowsCloseProperty

Defines the CanDocumentWindowsClose property.

public static readonly DependencyProperty CanDocumentWindowsCloseProperty

CanDocumentWindowsDragToLinkedDockSitesProperty

public static readonly DependencyProperty CanDocumentWindowsDragToLinkedDockSitesProperty

CanDocumentWindowsFloatProperty

Defines the CanDocumentWindowsFloat property.

public static readonly DependencyProperty CanDocumentWindowsFloatProperty

CanFloatingDockHostsHideOnDockSiteUnloadProperty

public static readonly DependencyProperty CanFloatingDockHostsHideOnDockSiteUnloadProperty

CanToolWindowTabsDragProperty

Defines the CanToolWindowTabsDrag property.

public static readonly DependencyProperty CanToolWindowTabsDragProperty

CanToolWindowsAttachProperty

Defines the CanToolWindowsAttach property.

public static readonly DependencyProperty CanToolWindowsAttachProperty

CanToolWindowsAutoHideProperty

Defines the CanToolWindowsAutoHide property.

public static readonly DependencyProperty CanToolWindowsAutoHideProperty

CanToolWindowsBecomeDocumentsProperty

Defines the CanToolWindowsBecomeDocuments property.

public static readonly DependencyProperty CanToolWindowsBecomeDocumentsProperty

CanToolWindowsCloseOnMiddleClickProperty

Defines the CanToolWindowsCloseOnMiddleClick property.

public static readonly DependencyProperty CanToolWindowsCloseOnMiddleClickProperty

CanToolWindowsCloseProperty

Defines the CanToolWindowsClose property.

public static readonly DependencyProperty CanToolWindowsCloseProperty

CanToolWindowsDockProperty

Defines the CanToolWindowsDock property.

public static readonly DependencyProperty CanToolWindowsDockProperty

CanToolWindowsDragToFloatingDockHostsWithWorkspacesProperty

public static readonly DependencyProperty CanToolWindowsDragToFloatingDockHostsWithWorkspacesProperty

CanToolWindowsDragToLinkedDockSitesProperty

public static readonly DependencyProperty CanToolWindowsDragToLinkedDockSitesProperty

CanToolWindowsFloatProperty

Defines the CanToolWindowsFloat property.

public static readonly DependencyProperty CanToolWindowsFloatProperty

CanUpdateItemsSourceOnUnregisterProperty

Defines the CanUpdateItemsSourceOnUnregister property.

public static readonly DependencyProperty CanUpdateItemsSourceOnUnregisterProperty

ChildProperty

Defines the Child property.

public static readonly DependencyProperty ChildProperty

ClosePerContainerProperty

Defines the ClosePerContainer property.

public static readonly DependencyProperty ClosePerContainerProperty

DocumentItemContainerStyleProperty

Defines the DocumentItemContainerStyle property.

public static readonly DependencyProperty DocumentItemContainerStyleProperty

DocumentItemContainerStyleSelectorProperty

Defines the DocumentItemContainerStyleSelector property.

public static readonly DependencyProperty DocumentItemContainerStyleSelectorProperty

DocumentItemTemplateProperty

Defines the DocumentItemTemplate property.

public static readonly DependencyProperty DocumentItemTemplateProperty

DocumentItemTemplateSelectorProperty

Defines the DocumentItemTemplateSelector property.

public static readonly DependencyProperty DocumentItemTemplateSelectorProperty

DocumentItemsSourceProperty

Defines the DocumentItemsSource property.

public static readonly DependencyProperty DocumentItemsSourceProperty

FloatingToolWindowContainerTitleBarDoubleClickModeProperty

public static readonly DependencyProperty FloatingToolWindowContainerTitleBarDoubleClickModeProperty

FloatingToolWindowContainersHaveMaximizeButtonsProperty

public static readonly DependencyProperty FloatingToolWindowContainersHaveMaximizeButtonsProperty

FloatingToolWindowContainersHaveMinimizeButtonsProperty

public static readonly DependencyProperty FloatingToolWindowContainersHaveMinimizeButtonsProperty

FloatingWindowIconProperty

Defines the FloatingWindowIcon property.

public static readonly DependencyProperty FloatingWindowIconProperty

FloatingWindowOpeningEvent

Defines the FloatingWindowOpening event.

public static readonly RoutedEvent FloatingWindowOpeningEvent

FloatingWindowOwnerModeProperty

Defines the FloatingWindowOwnerMode property.

public static readonly DependencyProperty FloatingWindowOwnerModeProperty

FloatingWindowShowInTaskBarModeProperty

Defines the FloatingWindowShowInTaskBarMode property.

public static readonly DependencyProperty FloatingWindowShowInTaskBarModeProperty

FloatingWindowSnapToScreenThresholdProperty

public static readonly DependencyProperty FloatingWindowSnapToScreenThresholdProperty

FloatingWindowTitleDelimiterProperty

Defines the FloatingWindowTitleDelimiter property.

public static readonly DependencyProperty FloatingWindowTitleDelimiterProperty

FloatingWindowTitleProperty

Defines the FloatingWindowTitle property.

public static readonly DependencyProperty FloatingWindowTitleProperty

HostedFloatingWindowContainerProperty

Defines the HostedFloatingWindowContainer property.

public static readonly DependencyProperty HostedFloatingWindowContainerProperty

InactiveFloatingWindowFadeDelayProperty

Defines the InactiveFloatingWindowFadeDelay property.

public static readonly DependencyProperty InactiveFloatingWindowFadeDelayProperty

InactiveFloatingWindowFadeDurationProperty

Defines the InactiveFloatingWindowFadeDuration property.

public static readonly DependencyProperty InactiveFloatingWindowFadeDurationProperty

InactiveFloatingWindowFadeOpacityProperty

Defines the InactiveFloatingWindowFadeOpacity property.

public static readonly DependencyProperty InactiveFloatingWindowFadeOpacityProperty

IsDockGuideAnimationEnabledProperty

Defines the IsDockGuideAnimationEnabled property.

public static readonly DependencyProperty IsDockGuideAnimationEnabledProperty

IsFloatingWindowSnapToScreenEnabledProperty

public static readonly DependencyProperty IsFloatingWindowSnapToScreenEnabledProperty

IsInactiveFloatingWindowFadeEnabledProperty

public static readonly DependencyProperty IsInactiveFloatingWindowFadeEnabledProperty

IsLiveSplittingEnabledProperty

Defines the IsLiveSplittingEnabled property.

public static readonly DependencyProperty IsLiveSplittingEnabledProperty

IsTabLayoutAnimationEnabledProperty

Defines the IsTabLayoutAnimationEnabled property.

public static readonly DependencyProperty IsTabLayoutAnimationEnabledProperty

MagnetismGapDistanceProperty

Defines the MagnetismGapDistance property.

public static readonly DependencyProperty MagnetismGapDistanceProperty

MagnetismSnapDistanceProperty

Defines the MagnetismSnapDistance property.

public static readonly DependencyProperty MagnetismSnapDistanceProperty

MdiKindChangedEvent

Defines the MdiKindChanged event.

public static readonly RoutedEvent MdiKindChangedEvent

MdiKindProperty

Defines the MdiKind property.

public static readonly DependencyProperty MdiKindProperty

MenuOpeningEvent

Defines the MenuOpening event.

public static readonly RoutedEvent MenuOpeningEvent

NewWindowRequestedEvent

Defines the NewWindowRequested event.

public static readonly RoutedEvent NewWindowRequestedEvent

PrimaryDocumentChangedEvent

Defines the PrimaryDocumentChanged event.

public static readonly RoutedEvent PrimaryDocumentChangedEvent

PrimaryDocumentProperty

Defines the PrimaryDocument property.

public static readonly DependencyProperty PrimaryDocumentProperty

SplitterSizeProperty

Defines the SplitterSize property.

public static readonly DependencyProperty SplitterSizeProperty

SwitcherProperty

Defines the Switcher property.

public static readonly DependencyProperty SwitcherProperty

ToolItemContainerStyleProperty

Defines the ToolItemContainerStyle property.

public static readonly DependencyProperty ToolItemContainerStyleProperty

ToolItemContainerStyleSelectorProperty

Defines the ToolItemContainerStyleSelector property.

public static readonly DependencyProperty ToolItemContainerStyleSelectorProperty

ToolItemTemplateProperty

Defines the ToolItemTemplate property.

public static readonly DependencyProperty ToolItemTemplateProperty

ToolItemTemplateSelectorProperty

Defines the ToolItemTemplateSelector property.

public static readonly DependencyProperty ToolItemTemplateSelectorProperty

ToolItemsSourceProperty

Defines the ToolItemsSource property.

public static readonly DependencyProperty ToolItemsSourceProperty

ToolWindowTabItemContainerStyleProperty

Defines the ToolWindowTabItemContainerStyle property.

public static readonly DependencyProperty ToolWindowTabItemContainerStyleProperty

ToolWindowsHaveCloseButtonsProperty

Defines the ToolWindowsHaveCloseButtons property.

public static readonly DependencyProperty ToolWindowsHaveCloseButtonsProperty

ToolWindowsHaveOptionsButtonsProperty

Defines the ToolWindowsHaveOptionsButtons property.

public static readonly DependencyProperty ToolWindowsHaveOptionsButtonsProperty

ToolWindowsHaveTabImagesProperty

Defines the ToolWindowsHaveTabImages property.

public static readonly DependencyProperty ToolWindowsHaveTabImagesProperty

ToolWindowsHaveTitleBarIconsProperty

Defines the ToolWindowsHaveTitleBarIcons property.

public static readonly DependencyProperty ToolWindowsHaveTitleBarIconsProperty

ToolWindowsHaveTitleBarsProperty

Defines the ToolWindowsHaveTitleBars property.

public static readonly DependencyProperty ToolWindowsHaveTitleBarsProperty

ToolWindowsHaveToggleAutoHideButtonsProperty

public static readonly DependencyProperty ToolWindowsHaveToggleAutoHideButtonsProperty

ToolWindowsSingleTabLayoutBehaviorProperty

Defines the ToolWindowsSingleTabLayoutBehavior property.

public static readonly DependencyProperty ToolWindowsSingleTabLayoutBehaviorProperty

ToolWindowsTabOverflowBehaviorProperty

Defines the ToolWindowsTabOverflowBehavior property.

public static readonly DependencyProperty ToolWindowsTabOverflowBehaviorProperty

ToolWindowsTabStripPlacementProperty

Defines the ToolWindowsTabStripPlacement property.

public static readonly DependencyProperty ToolWindowsTabStripPlacementProperty

ToolWindowsTitleBarContextContentAlignmentProperty

public static readonly DependencyProperty ToolWindowsTitleBarContextContentAlignmentProperty

UseDragFloatPreviewsProperty

Defines the UseDragFloatPreviews property.

public static readonly DependencyProperty UseDragFloatPreviewsProperty

UseHostedFloatingWindowsProperty

Defines the UseHostedFloatingWindows property.

public static readonly DependencyProperty UseHostedFloatingWindowsProperty

UseHostedPopupsProperty

Defines the UseHostedPopups property.

public static readonly DependencyProperty UseHostedPopupsProperty

WindowActivatedEvent

Defines the WindowActivated event.

public static readonly RoutedEvent WindowActivatedEvent

WindowAutoHidePopupClosedEvent

Defines the WindowAutoHidePopupClosed event.

public static readonly RoutedEvent WindowAutoHidePopupClosedEvent

WindowAutoHidePopupOpenedEvent

Defines the WindowAutoHidePopupOpened event.

public static readonly RoutedEvent WindowAutoHidePopupOpenedEvent

WindowDeactivatedEvent

Defines the WindowDeactivated event.

public static readonly RoutedEvent WindowDeactivatedEvent

WindowDefaultLocationRequestedEvent

Defines the WindowDefaultLocationRequested event.

public static readonly RoutedEvent WindowDefaultLocationRequestedEvent

WindowRegisteredEvent

Defines the WindowRegistered event.

public static readonly RoutedEvent WindowRegisteredEvent

WindowUnregisteredEvent

Defines the WindowUnregistered event.

public static readonly RoutedEvent WindowUnregisteredEvent

WindowsAutoHidingEvent

Defines the WindowsAutoHiding event.

public static readonly RoutedEvent WindowsAutoHidingEvent

WindowsClosedEvent

Defines the WindowsClosed event.

public static readonly RoutedEvent WindowsClosedEvent

WindowsClosingEvent

Defines the WindowsClosing event.

public static readonly RoutedEvent WindowsClosingEvent

WindowsDockHostChangedEvent

Defines the WindowsDockHostChanged event.

public static readonly RoutedEvent WindowsDockHostChangedEvent

WindowsDragOverEvent

Defines the WindowsDragOver event.

public static readonly RoutedEvent WindowsDragOverEvent

WindowsDraggedEvent

Defines the WindowsDragged event.

public static readonly RoutedEvent WindowsDraggedEvent

WindowsDraggingEvent

Defines the WindowsDragging event.

public static readonly RoutedEvent WindowsDraggingEvent

WindowsOpenedEvent

Defines the WindowsOpened event.

public static readonly RoutedEvent WindowsOpenedEvent

WindowsOpeningEvent

Defines the WindowsOpening event.

public static readonly RoutedEvent WindowsOpeningEvent

WindowsStateChangedEvent

Defines the WindowsStateChanged event.

public static readonly RoutedEvent WindowsStateChangedEvent

Extension Methods