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 Field Type Constant Value Summary
DarkTemplateProperty DependencyProperty
Identifies the DarkTemplate dependency property.
static
LightTemplateProperty DependencyProperty
Identifies the LightTemplate dependency property.
static
ParentWindowProperty DependencyProperty
Identifies the ParentWindow dependency property.
static
SeparatorHeightProperty DependencyProperty
Identifies the SeparatorHeight dependency property.
static
ShowLastSeparatorProperty DependencyProperty
Identifies the ShowLastSeparator dependency property.
static
ShowSeparatorsProperty DependencyProperty
Identifies the ShowSeparators dependency property.
static
ThemeProperty DependencyProperty
Identifies the Theme dependency property.
static

Properties

Name Property Type 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