In This Article

Workspace Class

Represents a control that can contain a MDI host, and around which tool windows are docked.

public class Workspace : ContentControl, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IAddChild, IDragDockTarget, IDockTarget, IHierarchyContainer, IHierarchyNode
Inheritance:
Object DispatcherObject DependencyObject Visual UIElement FrameworkElement Control ContentControl Object
Implements:
IDockTarget

Constructors

Workspace()

Initializes an instance of the Workspace class.

public Workspace()

Properties

DockHost

Gets the DockHost that contains this control.

public DockHost DockHost { get; }

Property Value

DockHost:

The DockHost that contains this control.

DockSite

Gets the DockSite that is managing this control.

public DockSite DockSite { get; }

Property Value

DockSite:

The DockSite that is managing this control.

Methods

OnContentChanged(Object, Object)

Occurs when the content changes.

protected override void OnContentChanged(object oldContent, object newContent)
Parameter Type Description
oldContent Object

The old content.

newContent Object

The new content.

OnCreateAutomationPeer()

Returns an AutomationPeer object for this control instance.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer:

An AutomationPeer instance.

Explicit Interface Implementations

IDockTarget.GetState(Nullable<Side>)

Returns the DockingWindowState that specifies the state of the docking location around the target.

DockingWindowState IDockTarget.GetState(Side? side)
Parameter Type Description
side Nullable<Side>

Returns

DockingWindowState:

The DockingWindowState that specifies the state of the docking location around the target.

Inherited Members

Extension Methods