1 changed files with 33 additions and 31 deletions
@ -1,37 +1,39 @@ |
|||||
# WindowControl |
# WindowControl |
||||
Derives from ContentControl |
Derives from ContentControl |
||||
|
|
||||
The control used to build the [ChildWindow](ChildWindow) and [MessageBox](MessageBox). It contains the base data for a window. |
The control used to build the [[ChildWindow]] and [[MessageBox]]. It contains the base data for a window. |
||||
|
|
||||
## Properties |
### Properties |
||||
|| Property || Description |
| Property | Description | |
||||
| Caption | Gets or sets the Title of the Window. |
| --- | --- | |
||||
| CaptionForeground | Gets or sets the foreground of the title of the window. |
| Caption | Gets or sets the Title of the Window. | |
||||
| CaptionShadowBrush | Gets or sets the glow effect brush that highlights the window title. |
| CaptionForeground | Gets or sets the foreground of the title of the window. | |
||||
| CaptionIcon | Gets or sets the Image to use near the window title. |
| CaptionShadowBrush | Gets or sets the glow effect brush that highlights the window title. | |
||||
| CloseButtonStyle | Gets or sets the style for the Close Button. |
| CaptionIcon | Gets or sets the Image to use near the window title. | |
||||
| CloseButtonVisibility | Gets or sets if the Close button is visible in the window. |
| CloseButtonStyle | Gets or sets the style for the Close Button. | |
||||
| IsActive | Gets or sets if the window has the focus. |
| CloseButtonVisibility | Gets or sets if the Close button is visible in the window. | |
||||
| Left | Gets or sets the position in X of the top left corner of the window in pixel. |
| IsActive | Gets or sets if the window has the focus. | |
||||
| Top | Gets or sets the position in Y of the top left corner of the window in pixel. |
| Left | Gets or sets the position in X of the top left corner of the window in pixel. | |
||||
| ResizeMode | Gets or sets the mode for resizing (NoResize, CanMinimize, CanResize). |
| Top | Gets or sets the position in Y of the top left corner of the window in pixel. | |
||||
| WindowBackground | Gets or sets the Background for the Window chrome border. |
| ResizeMode | Gets or sets the mode for resizing (NoResize, CanMinimize, CanResize). | |
||||
| WindowBorderBrush | Gets or sets the Border Brush for the window. |
| WindowBackground | Gets or sets the Background for the Window chrome border. | |
||||
| WindowBorderThickness | Gets or sets the Thickness for the window. |
| WindowBorderBrush | Gets or sets the Border Brush for the window. | |
||||
| WindowInactiveBackground | Gets or sets the Background for the window chrome border when window is inactive. |
| WindowBorderThickness | Gets or sets the Thickness for the window. | |
||||
| WindowOpacity | Gets or sets the Opacity for the Window chrome border. |
| WindowInactiveBackground | Gets or sets the Background for the window chrome border when window is inactive. | |
||||
| WindowStyle | Gets or sets the style for the Window (None, SingleBorderWindow, ThreeDBorderWindow or ToolWindow). |
| WindowOpacity | Gets or sets the Opacity for the Window chrome border. | |
||||
| WindowThickness | Gets or sets the Thickness for the Window chrome Border. |
| WindowStyle | Gets or sets the style for the Window (None, SingleBorderWindow, ThreeDBorderWindow or ToolWindow). | |
||||
|
| WindowThickness | Gets or sets the Thickness for the Window chrome Border. | |
||||
|
|
||||
## Events |
### Events |
||||
|| Event || Description |
| Event | Description | |
||||
| HeaderMouseLeftButtonClicked | Raised when the header is clicked using the left mouse button. |
| --- | --- | |
||||
| HeaderMouseLeftButtonDoubleClicked | Raised when the header is double-clicked with the left mouse button. |
| HeaderMouseLeftButtonClicked | Raised when the header is clicked using the left mouse button. | |
||||
| HeaderMouseRightButtonClicked | Raised when the header is clicked using the right mouse button. |
| HeaderMouseLeftButtonDoubleClicked | Raised when the header is double-clicked with the left mouse button. | |
||||
| HeaderDragDelta | Raised when the Window is dragged. |
| HeaderMouseRightButtonClicked | Raised when the header is clicked using the right mouse button. | |
||||
| HeaderIconClicked | Raised when the header icon is clicked. |
| HeaderDragDelta | Raised when the Window is dragged. | |
||||
| HeaderIconDoubleClicked | Raised when the header icon is double-clicked. |
| HeaderIconClicked | Raised when the header icon is clicked. | |
||||
| CloseButtonClicked | Raised when the Close button is clicked. |
| HeaderIconDoubleClicked | Raised when the header icon is double-clicked. | |
||||
|
| CloseButtonClicked | Raised when the Close button is clicked. | |
||||
|
|
||||
**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** |
--- |
||||
--- |
**Support this project, check out the [Plus Edition](https://xceed.com/xceed-toolkit-plus-for-wpf/).** |
||||
Loading…
Reference in new issue