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.
Name | Description | |
---|---|---|
Initializes a new instance of the Window class. |
Name | Description | |
---|---|---|
Identifies the AnimationDuration dependency property. |
||
Identifies the ButtonBackground dependency property. |
||
Identifies the ButtonBorderBrush dependency property. |
||
Identifies the ButtonBorderThickness dependency property. |
||
Identifies the ButtonOverBackground dependency property. |
||
Identifies the ButtonPressedBackground dependency property. |
||
Identifies the CanClose dependency property. |
||
Identifies the CanMove dependency property. |
||
Identifies the ContentBackground dependency property. |
||
Identifies the ContentCornerRadius dependency property. |
||
Identifies the ContentMargin dependency property. |
||
Identifies the CornerRadius dependency property. |
||
Identifies the HeaderHeight dependency property. |
||
Identifies the HeaderMargin dependency property. |
||
Identifies the Header dependency property. |
||
Identifies the HeaderTemplate dependency property. |
||
Identifies the Icon dependency property. |
||
Identifies the InactiveBackground dependency property. |
||
Identifies the InactiveBorderBrush dependency property. |
||
Identifies the IsActive dependency property. |
||
Identifies the IsAnimated dependency property. |
||
Identifies the KeepInsideHost dependency property. |
||
Identifies the MinimizedHeight dependency property. |
||
Identifies the MinimizedWidth dependency property. |
||
Identifies the MinimizeMode dependency property. |
||
Identifies the ResizeMode dependency property. |
||
Identifies the StartupLocation dependency property. |
||
Identifies the WindowState dependency property. |
Name | Description | |
---|---|---|
Gets or sets the duration of the window's animations, expressed in milliseconds. This is a dependency property. |
||
Gets or sets the background of the buttons in the window. This is a dependency property. |
||
Gets or sets the border brush of the buttons in the window. This is a dependency property. |
||
Gets or sets the border thickness of the buttons in the window. This is a dependency property. |
||
Gets or sets the background of the buttons in the window when they are pointed with the mouse. This is a dependency property. |
||
Gets or sets the background of the buttons in the window when they are pressed. This is a dependency property. |
||
Gets or sets a value indicating whether the window will display a 'Close' button in its title bar. This is a dependency property. |
||
Gets or sets a value indicating whether the window can be moved interactively. This is a dependency property. |
||
Gets or sets the background of the window's content. This is a dependency property. |
||
Gets or sets the corner radius of the border around the window's content. This is a dependency property. |
||
Gets or sets the margin of the window's content. This is a dependency property. |
||
Gets or sets the corner radius of the window's border. This is a dependency property. |
||
Gets or sets the content of the window title bar. This is a dependency property. |
||
Gets or sets the height of the window's header. This is a dependency property. |
||
Gets or sets the margin of the window's header. This is a dependency property. |
||
Gets or sets the template used to display the content of the window's title. This is a dependency property. |
||
Gets or sets the icon displayed in the window's title bar. This is a dependency property. |
||
Gets or sets background brush of the window when it is not active. This is a dependency property. |
||
Gets or sets the border brush of the window when it is not active. This is a dependency property. |
||
Gets or sets a value indicating whether the window is active. This is a dependency property. |
||
Gets or sets a value indicating whether the window is animated. This is a dependency property. |
||
Gets or sets a value indicating whether the window can be interactively dragged outside of its containing WindowHost boundaries. This is a dependency property. |
||
Gets or sets the left side of the window within its container. |
||
Gets or sets the height of the window when it is minimized. This is a dependency property. |
||
Gets or sets the width of the window when it is minimized. This is a dependency property. |
||
Gets or sets the behavior of this window when it is minimized. This is a dependency property. |
||
Gets or sets a value indicating the allowed user interactions on this window. This is a dependency property. |
||
Gets or sets the initial location of the window relative to its host. This is a dependency property. |
||
Gets or sets the top side of the window within its container. |
||
Gets or sets the current state of the window. This is a dependency property. |
Name | Description | |
---|---|---|
FrameworkElement.OnApplyTemplate override. |
||
Adds the window to the specified host. |
||
Displays the window within the specified host as a modal dialog. |
Name | Description | |
---|---|---|
Raises the Closed event. |
||
Raises the Closing event. |
||
Control.OnGotFocus override. |
||
UIElement.OnLostFocus override. |
||
Control.OnMouseDoubleClick override. |
||
UIElement.OnMouseLeftButtonDown override. |
||
UIElement.OnMouseLeftButtonUp override. |
||
UIElement.OnMouseMove override. |
Name | Description | |
---|---|---|
Raised when a window is closed. |
||
Raised before the window is closed in order to confirm the operation. |