Search
Window Members
Constructors Properties Methods Events
 


Represents a window with title and contents, which can be moved, resized and arranged interactively.

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

 Public Constructors

  Name Description

Window

Initializes a new instance of the Window class.

 Public Properties

  Name Description

allowClose

Gets or sets a value indicating whether this Window can be closed.

allowDrag

Gets or sets a value indicating whether this Window can be dragged.

allowMaximize

Gets or sets a value indicating whether this Window can be maximized.

allowMinimize

Gets or sets a value indicating whether this Window can be minimized.

allowPin

Gets or sets a value indicating whether this Window can be pinned.

allowRefresh

Gets or sets a value indicating whether this Window can be refreshed.

allowResize

Gets or sets a value indicating whether this Window can be resized.

footer

Gets a reference to the Window footer DOM element.

header

Gets a reference to the Window header DOM element.

host

Gets the host of this WindowHost. (Inherited from WindowBase.)

iconSrc

Gets or sets the url of the title icon.

minHeight

Gets or sets the minimum allowed height of this Window.

minWidth

Gets or sets the minimum allowed width of this Window.

modal

Gets or sets a value indicating whether this Window should be modal.

navigateUrl

Gets or sets a string, specifying the URL of the web page, that will be loaded in the control's content IFrame. (Inherited from WindowBase.)

pinned

Gets or sets a value, indicating whether this Window is pinned.

template

Gets or sets an HTML string, representing the content template. (Inherited from WindowBase.)

templateUrl

Gets or sets a string, specifying the URL of the web page, that will be loaded as a control content template. (Inherited from WindowBase.)

title

Gets or sets the title of this Window.

useFrameTitle

Gets or sets a value indicating whether the window will display the title of its content iframe.

windowState

Gets or sets the state of this Window. (Inherited from WindowBase.)

 Public Methods

  Name Description

attach

WindowBase.attach override.

autoSize

Resizes the Window to fit its contents.

center

Positions the Window in the center of its host element or specified rect.

close

Closes the Window.

detach

WindowBase.detach override.

dispose

Control.dispose override.

doClose

Closes the Window without raising events.

doOpen

Opens the Window without raising events.

draw

Control.draw override.

maximize

Maximizes the Window.

minimize

Minimizes the Window.

open

Opens the Window on the screen.

pin

Pins the Window. Pinned windows cannot be moved or resized.

refresh

Reloads the Window IFrame.

restore

Restores the Window to a normal state.

unpin

Unpins the Window.

updateBounds

Updates window dimensions after applying changes to DOM elements.

 Public Events

  Name Description

buttonClick

Raised when a button in the command strip of the Window is clicked.

contentLoad

Raised when the windows's contents are loaded. (Inherited from WindowBase.)

dragEnd

Raised when drag operation is finished.

dragStart

Raised when a drag operation is started.

headerClick

Raised when the Window header is clicked.

resizeEnd

Raised when a resize operation is finished.

resizeStart

Raised when a resize operation is started.

stateChanged

Raised when the window's state is changed. (Inherited from WindowBase.)

stateChanging

Raised when the window's state is changing. (Inherited from WindowBase.)

windowClose

Raised when the Window is closed. (Inherited from WindowBase.)

windowClosing

Raised when the Window is closing. (Inherited from WindowBase.)

windowOpen

Raised when the Window is opened. (Inherited from WindowBase.)

windowOpening

Raised when the Window is opening. (Inherited from WindowBase.)

 See Also