Workspace Class
Represents a control that can contain an 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 class.
public Workspace()
Properties
DockHost
The DockHost that contains this control.
DockSite
The DockSite that is managing this control.
Methods
OnContentChanged(object, object)
Called when the Content property changes.
protected override void OnContentChanged(object oldContent, object newContent)
| Parameter | Type | Description |
|---|---|---|
| oldContent | object | The old value of the Content property. |
| newContent | object | The new value of the Content property. |
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.