Represents the base class for a container that hosts docking windows in a MDI (multiple-document interface).
- Inheritance:
-
object
Visual
UIElement
Framework
Element Control object
- Derived:
-
Standard
Mdi TabbedHost Mdi Host
Constructors
MdiHostBase()
Initializes an instance of the class.
Properties
DockHost
Gets the Dock
DockSite
Gets the Dock
IsEmpty
Gets whether the host is currently empty (doesn't contain any visible documents).
Property Value
- bool:
true
if the host is currently empty (doesn't contain any visible documents); otherwise,false
. The default value istrue
.
PrimaryWindow
Gets the primary Docking
Property Value
- Docking
Window : The primary Docking
Window within the host. The default value isnull
.
Methods
GetDocuments()
Returns the list of docking windows within the MDI.
Returns
- IList<Docking
Window >: The list of docking windows within the MDI.
OnApplyTemplate()
Invoked whenever application code or internal processes call ApplyTemplate
.
OnDockHostChanged(DockHost, DockHost)
Occurs when the value of the Dock
OnPrimaryWindowChanged(DockingWindow, DockingWindow)
Occurs when the value of the Primary
Parameter | Type | Description |
---|---|---|
oldValue | Docking |
The old value. |
newValue | Docking |
The new value. |
Events
PrimaryWindowChanged
Occurs when Primary
Event Type
Fields
IsEmptyProperty
Identifies the Is
PrimaryWindowChangedEvent
Identifies the Primary
PrimaryWindowProperty
Identifies the Primary