Workspace Class
Represents a control that can contain a MDI host, and around which tool windows are docked.
public class Workspace : ContentControl, IDockTarget
- Inheritance:
- object 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.
DockSite
Gets the DockSite that is managing this control.
public DockSite DockSite { get; }
Property Value
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.