Search
WindowHost Members
Constructors Properties Methods Events
 


Represents a container for Window objects.

The following tables list the members exposed by the WindowHost type.

 Public Constructors

  Name Description

WindowHost

Initializes a new instance of the WindowHost class.

 Public Properties

  Name Description

activeChild

Gets the topmost child window. (Inherited from Container.)

children

Gets the collection of child windows. (Inherited from Container.)

commandStrip

Gets a reference to the default commands toolStrip.

content

Gets a reference to the container's content element. (Inherited from Container.)

contentBounds

Gets the bounds of this container's content element. (Inherited from Container.)

contentRect

Gets the bounding rect of this container's content element. (Inherited from Container.)

maximizedStrip

Gets a reference to the maximized windows ToolStrip.

minimizedStrip

Gets a reference to the minimized windows ToolStrip.

windows

Gets the collection of child Window-s.

 Public Methods

  Name Description

attach

Container.attach override.

bringToFront

Brings a child window to the front, effectively making it topmost and active. (Inherited from Container.)

closeAll

Closes all open child window-s.

detach

Container.detach override.

dispose

Container.dispose override.

draw

Control.draw override.

fit

Ensures that a child window fits into content bounds. (Inherited from Container.)

minimizeAll

Minimizes all child Window-s.

openAll

 Opens all closed child Windows.

restoreAll

Restores all minimized and maximized child windows.

sendToBack

Sends a child window to the back. (Inherited from Container.)

showConfirmDialog

Shows a confirmation dialog.

showInfoDialog

Shows an info dialog.

showInputDialog

Shows an input dialog.

 Public Events

  Name Description

windowClose

Raised when a child Window is closed.

windowClosing

Raised when a child Window is being closed.

windowOpen

Raised when a child window is opened.

windowOpening

Raised when a child Window is being opened.

windowStateChanged

Raised when the state of a child window is modified.

windowStateChanging

Raised when the state of a child Window is being modified.

 See Also