Updated StyleableWindow (markdown)

master
DianeXceed 9 years ago
parent
commit
31abe95708
  1. 59
      StyleableWindow.md

59
StyleableWindow.md

@ -5,34 +5,35 @@ Derives from System.Windows.Window
Represents a window possessing all of the basic features of a normal window whose elements can all be styled. Represents a window possessing all of the basic features of a normal window whose elements can all be styled.
![](StyleableWindow_styleablewindow.jpg) [[StyleableWindow_styleablewindow.jpg]]
## Properties ### Properties
|| Property || Description | Property | Description |
| CloseButtonStyle | Gets or sets the style used for the Close button. | --- | --- |
| CloseButtonVisibility | Gets or sets the visibility of the Close button. | CloseButtonStyle | Gets or sets the style used for the Close button. |
| MaximiseButtonStyle | Gets or sets the style used for the Maximize button. | CloseButtonVisibility | Gets or sets the visibility of the Close button. |
| MinimizeButtonStyle | Gets or sets the style used for the Minimize button. | MaximiseButtonStyle | Gets or sets the style used for the Maximize button. |
| RestoreButtonStyle | Gets or sets the style used for the Restore button. | MinimizeButtonStyle | Gets or sets the style used for the Minimize button. |
| TitleForeground | Gets or sets the title foreground. | RestoreButtonStyle | Gets or sets the style used for the Restore button. |
| TitleShadowBrush | Gets or sets the brush used for the title's shadow. | TitleForeground | Gets or sets the title foreground. |
| WindowBackground | Gets or sets the window background. | TitleShadowBrush | Gets or sets the brush used for the title's shadow. |
| WindowBorderBrush | Gets or sets the chrome’s border. | WindowBackground | Gets or sets the window background. |
| WindowOpacity | Gets or sets the value for the chrome’s opacity. | WindowBorderBrush | Gets or sets the chrome’s border. |
| WindoeBorderThickness | Gets or sets the thickness for the chrome’s outer border thickness. | WindowOpacity | Gets or sets the value for the chrome’s opacity. |
| WindowInactiveBackground | Gets or sets the Brush used for the chrome when the StyleableWindow is inactive (in background). | WindoeBorderThickness | Gets or sets the thickness for the chrome’s outer border thickness. |
| WindowStyleOverride | Gets or sets the style used to display the StyleableWindow. | WindowInactiveBackground | Gets or sets the Brush used for the chrome when the StyleableWindow is inactive (in background). |
| WindowThickness | Gets or sets the thickness of the chrome’s border. | WindowStyleOverride | Gets or sets the style used to display the StyleableWindow. |
| WindowThickness | Gets or sets the thickness of the chrome’s 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. |
| HeaderIconClicked | Raised when the header icon is clicked. | HeaderMouseRightButtonClicked | Raised when the header is clicked using the right mouse button. |
| 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. |
| MaximizeButtonClicked | Raised when the Maximize button is clicked. | CloseButtonClicked | Raised when the Close button is clicked. |
| MinimizeButtonClicked | Raised when the Minimize button is clicked. | MaximizeButtonClicked | Raised when the Maximize button is clicked. |
| WindowResizeThumbDrag | Raised when the window resize thumb is dragged. | MinimizeButtonClicked | Raised when the Minimize button is clicked. |
--- | WindowResizeThumbDrag | Raised when the window resize thumb is dragged. |

Loading…
Cancel
Save