WindowButtonCommands Class

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

Fields

Name Constant Value Summary
CloseProperty
Identifies the Close dependency property.
static
DarkCloseButtonStyleProperty
Identifies the DarkCloseButtonStyle dependency property.
static
DarkMaxButtonStyleProperty
Identifies the DarkMaxButtonStyle dependency property.
static
DarkMinButtonStyleProperty
Identifies the DarkMinButtonStyle dependency property.
static
LightCloseButtonStyleProperty
Identifies the LightCloseButtonStyle dependency property.
static
LightMaxButtonStyleProperty
Identifies the LightMaxButtonStyle dependency property.
static
LightMinButtonStyleProperty
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
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.
LightCloseButtonStyle 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.