- Namespace
- MahApps
.Metro .Controls - Base Types
-
- ContentControl
graph BT
Type-->Base0["ContentControl"]
Type["WindowButtonCommands"]
class Type type-node
Syntax
[TemplatePart(Name = "PART_Min", Type = typeof(Button))]
[TemplatePart(Name = "PART_Max", Type = typeof(Button))]
[TemplatePart(Name = "PART_Close", Type = typeof(Button))]
[StyleTypedProperty(Property = nameof(LightMinButtonStyle), StyleTargetType = typeof(Button))]
[StyleTypedProperty(Property = nameof(LightMaxButtonStyle), StyleTargetType = typeof(Button))]
[StyleTypedProperty(Property = nameof(LightCloseButtonStyle), StyleTargetType = typeof(Button))]
[StyleTypedProperty(Property = nameof(DarkMinButtonStyle), StyleTargetType = typeof(Button))]
[StyleTypedProperty(Property = nameof(DarkMaxButtonStyle), StyleTargetType = typeof(Button))]
[StyleTypedProperty(Property = nameof(DarkCloseButtonStyle), StyleTargetType = typeof(Button))]
public class WindowButtonCommands : ContentControl
Attributes
| Type | Description |
|---|---|
| TemplatePart | |
| TemplatePart | |
| TemplatePart | |
| StyleTypedProperty | |
| StyleTypedProperty | |
| StyleTypedProperty | |
| StyleTypedProperty | |
| StyleTypedProperty | |
| StyleTypedProperty |
Constructors
| Name | Summary |
|---|---|
| WindowButtonCommands |
Events
| Name | Type | Summary |
|---|---|---|
| ClosingWindow | WindowButtonCommands |
Fields
| Name | Constant Value | Summary |
|---|---|---|
| CloseProperty |
Identifies the
Close dependency property.static
|
|
| Dark |
Identifies the
DarkCloseButtonStyle dependency property.static
|
|
| Dark |
Identifies the
DarkMaxButtonStyle dependency property.static
|
|
| Dark |
Identifies the
DarkMinButtonStyle dependency property.static
|
|
| Light |
Identifies the
LightCloseButtonStyle dependency property.static
|
|
| Light |
Identifies the
LightMaxButtonStyle dependency property.static
|
|
| Light |
Identifies the
LightMinButtonStyle dependency property.static
|
|
| MaximizeProperty |
Identifies the
Maximize dependency property.static
|
|
| MinimizeProperty |
Identifies the
Minimize dependency property.static
|
|
| ParentWindowProperty |
Identifies the
ParentWindow dependency property.static
|
|
| Parent |
Identifies the
ParentWindow dependency property.static
|
|
| RestoreProperty |
Identifies the
Restore dependency property.static
|
|
| ThemeProperty |
Identifies the
Theme dependency property.static
|
Properties
| Name | Value | Summary |
|---|---|---|
| Close | string |
Gets or sets the close button tooltip.
|
| DarkCloseButtonStyle | Style |
Gets or sets the value indicating current dark style for the close button.
|
| DarkMaxButtonStyle | Style |
Gets or sets the value indicating current dark style for the maximize button.
|
| DarkMinButtonStyle | Style |
Gets or sets the value indicating current dark style for the minimize button.
|
| Light |
Style |
Gets or sets the value indicating current light style for the close button.
|
| LightMaxButtonStyle | Style |
Gets or sets the value indicating current light style for the maximize button.
|
| LightMinButtonStyle | Style |
Gets or sets the value indicating current light style for the minimize button.
|
| Maximize | string |
Gets or sets the maximize button tooltip.
|
| Minimize | string |
Gets or sets the minimize button tooltip.
|
| ParentWindow | Window |
Gets the window.
|
| Restore | string |
Gets or sets the restore button tooltip.
|
| Theme | string |
Gets or sets the value indicating current theme.
|
