- 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
|
|
Light |
Identifies the
LightTemplate dependency property.static
|
|
ParentWindowProperty |
Identifies the
ParentWindow dependency property.static
|
|
Separator |
Identifies the
SeparatorHeight dependency property.static
|
|
Show |
Identifies the
ShowLastSeparator dependency property.static
|
|
Show |
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
Name | Value | Summary |
---|---|---|
Clear |
void | |
Get |
DependencyObject | |
Is |
bool | |
On |
AutomationPeer |
Creates AutomationPeer (
UIElement.OnCreateAutomationPeer )
|
OnItemsChanged |
void | |
Prepare |
void |