MindFusion.UI for WebForms Programmer's Guide

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

AutoSize

Gets or sets a value, indicating whether the Window will size itself, according to its content.

CloseScript

Gets or sets the name of a JavaScript function that should be invoked when the window has closed.

ClosingScript

Gets or sets the name of a JavaScript function that should be invoked when the window is about to close.

ContentCssClass

Gets or sets the default CSS class for the content element.

ControlLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the window finishes loading.

DragEndScript

Gets or sets the name of a JavaScript function that should be invoked when a drag operation on a window is finished.

DragScript

Gets or sets the name of a JavaScript function that should be invoked during a drag operation.

DragStartScript

Gets or sets the name of a JavaScript function that should be invoked when a drag operation on a window is started.

EnabledInteractions

Gets or sets the allowed interactions on this Window.

FooterCssClass

Gets or sets the default CSS class for the footer element.

FrameLoadedScript

Gets or sets the name of a JavaScript function that should be invoked when the content iframe element finishes loading.

HeaderClickScript

Gets or sets the name of a JavaScript function that should be invoked when the user clicks the window header.

HeaderCssClass

Gets or sets the default CSS class for the header element.

Height

Gets or sets the height of this Window.

IconUrl

Gets or sets the location of the icon, shown in the title bar.

Left

Gets or sets the offset from the left to position this Window at.

MinHeight

Gets or sets the minimum allowed height for this Window.

MinWidth

Gets or sets the minimum allowed width for this Window.

Name

Gets the name of this Window.

OpeningScript

Gets or sets the name of a JavaScript function that should be invoked when the window is about to open.

OpenScript

Gets or sets the name of a JavaScript function that should be invoked when the window has opened.

ParentHost

Gets the parent WindowHost of this Window.

ResizeEndScript

Gets or sets the name of a JavaScript function that should be invoked when a resize operation on a window is finished.

ResizeScript

Gets or sets the name of a JavaScript function that should be invoked during a resize operation.

ResizeStartScript

Gets or sets the name of a JavaScript function that should be invoked when a resize operation on a window is started.

ShowIcon

Gets or sets a value indicating whether the window will show an icon in the title bar.

StateChangedScript

Gets or sets the name of a JavaScript function that should be invoked when the window state has changed.

StateChangingScript

Gets or sets the name of a JavaScript function that should be invoked when the window state is currently changing.

StatusCssClass

Gets or sets the default CSS class for the status element.

StatusText

Gets or sets the text in the status bar.

Theme

Gets or sets the theme applied to Window's UI elements.

Title

Gets or sets the title text of this Window.

Top

Gets or sets the offset from the top to position this Window at.

UseFrameTitle

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

Visibility

Gets or sets a value indicating whether this Window is closed or not.

Width

Gets or sets the width of this Window.

WindowState

Gets or sets the state of this Window.

WindowStyle

Gets or sets the style of this Window.

 Inherited Public Properties

  Name Description

NavigateUrl

Gets or sets the URL of the page that will be loaded in the control. (Inherited from WindowBase.)

Template

Gets or sets the control's template. (Inherited from WindowBase.)

 Public Methods

  Name Description

LoadPostData

IPostBackDataHandler.LoadPostData implementation.

RaisePostDataChangedEvent

When implemented by a derived class in the server control notifies the ASP.NET application that the state of the control has changed.

 Protected Methods

  Name Description

LoadFromXml

Loads the control from an XML element.

OnClose

Raises the Close event.

OnPreRender

Control.OnPreRender override.

Render

Control.Render override.

RenderContent

WindowBase.RenderContent override.

RenderContents

WebControl.RenderContents override.

SaveToXml

Saves the control to the underlying document under the specified name.

 Inherited Protected Methods

  Name Description

CreateChildControls

Control.CreateChildControls override. (Inherited from WindowBase.)

OnDataBinding

Control.OnDataBinding override. (Inherited from WindowBase.)

 Public Events

  Name Description

Close

Raised when the window is closed.

 See Also