WindowCommands Class

Namespace
MahApps.Metro.Controls
Base Types
  • ToolBar
graph BT Type-->Base0["ToolBar"] Type["WindowCommands"] class Type type-node

Syntax

[StyleTypedProperty(Property = nameof(ItemContainerStyle), StyleTargetType = typeof(WindowCommands))]
public class WindowCommands : ToolBar

Attributes

Type Description
StyleTypedProperty

Constructors

Name Summary
WindowCommands()

Fields

Name Constant Value Summary
DarkTemplateProperty
Identifies the DarkTemplate dependency property.
static
LightTemplateProperty
Identifies the LightTemplate dependency property.
static
ParentWindowProperty
Identifies the ParentWindow dependency property.
static
ParentWindowPropertyKey
Identifies the ParentWindow dependency property.
static
SeparatorHeightProperty
Identifies the SeparatorHeight dependency property.
static
ShowLastSeparatorProperty
Identifies the ShowLastSeparator dependency property.
static
ShowSeparatorsProperty
Identifies the ShowSeparators dependency property.
static
ThemeProperty
Identifies the Theme dependency property.
static

Properties

Name Value Summary
DarkTemplate ControlTemplate
Gets or sets the value indicating the light theme ControlTemplate.
LightTemplate ControlTemplate
Gets or sets the value indicating the light theme ControlTemplate.
ParentWindow Window
Gets the window.
SeparatorHeight double
Gets or sets the value indicating the height of the separators.
ShowLastSeparator bool
Gets or sets the value indicating whether to show the last separator or not.
ShowSeparators bool
Gets or sets the value indicating whether to show the separators or not.
Theme string
Gets or sets the value indicating the current theme.

Methods