Class HostWindow
Represents a special type of DockWindow, which is used internally by RadDock to wrap custom controls as part of the docking framework.
Inherited Members
Namespace: Telerik.WinControls.UI.Docking
Assembly: Telerik.WinControls.RadDock.dll
Syntax
public class HostWindow : DockWindow, INotifyPropertyChanged, IDockWindow
Constructors
HostWindow()
HostWindow(Control)
Initializes a new HostWindow instance with the specified Control as a content.
Declaration
public HostWindow(Control control)
Parameters
System.Windows.Forms.Control
control
|
HostWindow(Control, DockType)
Initializes a new HostWindow instance with the specified Control as a content and using the desired DockType.
Declaration
public HostWindow(Control control, DockType dockType)
Parameters
System.Windows.Forms.Control
control
|
DockType
dockType
|
Properties
Content
Gets the Control instance that is hosted on this window.
Declaration
public Control Content { get; }
Property Value
System.Windows.Forms.Control
|
DockType
MdiChild
Gets the associated Content as a Form instance. Valid when used in standard MDI mode.
Declaration
public Form MdiChild { get; }
Property Value
System.Windows.Forms.Form
|
SerializedDockType
Used internally by the XML serialization.
Declaration
public DockType SerializedDockType { get; set; }
Property Value
DockType
|
Methods
ActivateAsMdiChild()
Declaration
public void ActivateAsMdiChild()
LoadContent(Control)
Loads the content.
Declaration
public void LoadContent(Control content)
Parameters
System.Windows.Forms.Control
content
The content. |
OnClosing(DockWindowCancelEventArgs)
Declaration
protected override void OnClosing(DockWindowCancelEventArgs e)
Parameters
DockWindowCancelEventArgs
e
|
Overrides
OnControlRemoved(ControlEventArgs)
Declaration
protected override void OnControlRemoved(ControlEventArgs e)
Parameters
System.Windows.Forms.ControlEventArgs
e
|
OnLayout(LayoutEventArgs)
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
System.Windows.Forms.LayoutEventArgs
e
|
Show()
Display the HostWindow if was previously hidden.
Declaration
public void Show()