MindFusion.Wpf Pack Programmer's Guide
Window Members
Constructors Fields 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 Fields

  Name Description

AnimationDurationProperty

Identifies the AnimationDuration dependency property.

ButtonBackgroundProperty

Identifies the ButtonBackground dependency property.

ButtonBorderBrushProperty

Identifies the ButtonBorderBrush dependency property.

ButtonBorderThicknessProperty

Identifies the ButtonBorderThickness dependency property.

ButtonOverBackgroundProperty

Identifies the ButtonOverBackground dependency property.

ButtonPressedBackgroundProperty

Identifies the ButtonPressedBackground dependency property.

CanCloseProperty

Identifies the CanClose dependency property.

CanMoveProperty

Identifies the CanMove dependency property.

ContentBackgroundProperty

Identifies the ContentBackground dependency property.

ContentCornerRadiusProperty

Identifies the ContentCornerRadius dependency property.

ContentMarginProperty

Identifies the ContentMargin dependency property.

CornerRadiusProperty

Identifies the CornerRadius dependency property.

HeaderHeightProperty

Identifies the HeaderHeight dependency property.

HeaderMarginProperty

Identifies the HeaderMargin dependency property.

HeaderProperty

Identifies the Header dependency property.

HeaderTemplateProperty

Identifies the HeaderTemplate dependency property.

IconProperty

Identifies the Icon dependency property.

InactiveBackgroundProperty

Identifies the InactiveBackground dependency property.

InactiveBorderBrushProperty

Identifies the InactiveBorderBrush dependency property.

IsActiveProperty

Identifies the IsActive dependency property.

IsAnimatedProperty

Identifies the IsAnimated dependency property.

KeepInsideHostProperty

Identifies the KeepInsideHost dependency property.

MinimizedHeightProperty

Identifies the MinimizedHeight dependency property.

MinimizedWidthProperty

Identifies the MinimizedWidth dependency property.

MinimizeModeProperty

Identifies the MinimizeMode dependency property.

ResizeModeProperty

Identifies the ResizeMode dependency property.

StartupLocationProperty

Identifies the StartupLocation dependency property.

WindowStateProperty

Identifies the WindowState dependency property.

 Public Properties

  Name Description

AnimationDuration

Gets or sets the duration of the window's animations, expressed in milliseconds. This is a dependency property.

ButtonBackground

Gets or sets the background of the buttons in the window. This is a dependency property.

ButtonBorderBrush

Gets or sets the border brush of the buttons in the window. This is a dependency property.

ButtonBorderThickness

Gets or sets the border thickness of the buttons in the window. This is a dependency property.

ButtonOverBackground

Gets or sets the background of the buttons in the window when they are pointed with the mouse. This is a dependency property.

ButtonPressedBackground

Gets or sets the background of the buttons in the window when they are pressed. This is a dependency property.

CanClose

Gets or sets a value indicating whether the window will display a 'Close' button in its title bar. This is a dependency property.

CanMove

Gets or sets a value indicating whether the window can be moved interactively. This is a dependency property.

ContentBackground

Gets or sets the background of the window's content. This is a dependency property.

ContentCornerRadius

Gets or sets the corner radius of the border around the window's content. This is a dependency property.

ContentMargin

Gets or sets the margin of the window's content. This is a dependency property.

CornerRadius

Gets or sets the corner radius of the window's border. This is a dependency property.

Header

Gets or sets the content of the window title bar. This is a dependency property.

HeaderHeight

Gets or sets the height of the window's header. This is a dependency property.

HeaderMargin

Gets or sets the margin of the window's header. This is a dependency property.

HeaderTemplate

Gets or sets the template used to display the content of the window's title. This is a dependency property.

Icon

Gets or sets the icon displayed in the window's title bar. This is a dependency property.

InactiveBackground

Gets or sets background brush of the window when it is not active. This is a dependency property.

InactiveBorderBrush

Gets or sets the border brush of the window when it is not active. This is a dependency property.

IsActive

Gets or sets a value indicating whether the window is active. This is a dependency property.

IsAnimated

Gets or sets a value indicating whether the window is animated. This is a dependency property.

KeepInsideHost

Gets or sets a value indicating whether the window can be interactively dragged outside of its containing WindowHost boundaries. This is a dependency property.

Left

Gets or sets the left side of the window within its container.

MinimizedHeight

Gets or sets the height of the window when it is minimized. This is a dependency property.

MinimizedWidth

Gets or sets the width of the window when it is minimized. This is a dependency property.

MinimizeMode

Gets or sets the behavior of this window when it is minimized. This is a dependency property.

ResizeMode

Gets or sets a value indicating the allowed user interactions on this window. This is a dependency property.

StartupLocation

Gets or sets the initial location of the window relative to its host. This is a dependency property.

Top

Gets or sets the top side of the window within its container.

WindowState

Gets or sets the current state of the window. This is a dependency property.

 Public Methods

  Name Description

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

Show

Adds the window to the specified host.

ShowDialog

Displays the window within the specified host as a modal dialog.

 Protected Methods

  Name Description

OnClosed

Raises the Closed event.

OnClosing

Raises the Closing event.

OnGotFocus

Control.OnGotFocus override.

OnLostFocus

UIElement.OnLostFocus override.

OnMouseDoubleClick

Control.OnMouseDoubleClick override.

OnMouseLeftButtonDown

UIElement.OnMouseLeftButtonDown override.

OnMouseLeftButtonUp

UIElement.OnMouseLeftButtonUp override.

OnMouseMove

UIElement.OnMouseMove override.

 Public Events

  Name Description

Closed

Raised when a window is closed.

Closing

Raised before the window is closed in order to confirm the operation.

 See Also

Window Class
MindFusion.UI.Wpf Namespace