Summary
The HamburgerMenuItem provides an implementation for HamburgerMenu entries.
- Namespace
- MahApps
.Metro .Controls - Interfaces
-
- I
Hamburger Menu Item Base - IHamburgerMenuItem
- ICommandSource
- I
- Base Types
-
- Freezable
- Hamburger
Menu Item Base
- Derived Types
graph BT
Type-->Base0["HamburgerMenuItemBase"]
click Base0 "/api/MahApps.Metro.Controls/HamburgerMenuItemBase"
Base0-->Base1["Freezable"]
Type-.->Interface0["IHamburgerMenuItemBase"]
click Interface0 "/api/MahApps.Metro.Controls/IHamburgerMenuItemBase"
Type-.->Interface1["IHamburgerMenuItem"]
click Interface1 "/api/MahApps.Metro.Controls/IHamburgerMenuItem"
Type-.->Interface2["ICommandSource"]
Type["HamburgerMenuItem"]
class Type type-node
Derived0["HamburgerMenuImageItem"]-->Type
click Derived0 "/api/MahApps.Metro.Controls/HamburgerMenuImageItem"
Derived1["HamburgerMenuIconItem"]-->Type
click Derived1 "/api/MahApps.Metro.Controls/HamburgerMenuIconItem"
Derived2["HamburgerMenuGlyphItem"]-->Type
click Derived2 "/api/MahApps.Metro.Controls/HamburgerMenuGlyphItem"
Syntax
public class HamburgerMenuItem : HamburgerMenuItemBase, IHamburgerMenuItemBase, IHamburgerMenuItem,
ICommandSource
Fields
Name | Constant Value | Summary |
---|---|---|
Command |
Identifies the
CommandParameter dependency property.
static
|
|
CommandProperty |
Identifies the
Command dependency property.
static
|
|
Command |
Identifies the
CommandTarget dependency property.
static
|
|
IsEnabledProperty |
Identifies the
IsEnabled dependency property.
static
|
|
IsVisibleProperty |
Identifies the
IsVisible dependency property.
Inherited from Hamburger
static
|
|
LabelProperty |
Identifies the
Label dependency property.
static
|
|
TagProperty |
Identifies the
Tag dependency property.
Inherited from Hamburger
static
|
|
Target |
Identifies the
TargetPageType dependency property.
static
|
|
ToolTipProperty |
Identifies the
ToolTip dependency property.
static
|
Properties
Name | Value | Summary |
---|---|---|
Command | ICommand |
Gets or sets a command which will be executed if an item is clicked by the user.
|
CommandParameter | object |
Gets or sets the command parameter which will be passed by the Command.
|
CommandTarget | IInputElement |
Gets or sets the element on which to raise the specified command.
|
IsEnabled | bool |
Gets or sets a value indicating whether this item is enabled in the user interface (UI). This is a dependency property.
|
IsVisible | bool |
Gets or sets the value indicating whether this element is visible in the user interface (UI). This is a dependency property.
Inherited from Hamburger
|
Label | string |
Gets or sets a value that specifies label to display.
|
Tag | object |
Gets or sets a value that specifies an user specific value.
Inherited from Hamburger
|
TargetPageType | Type |
Gets or sets a value that specifies the page to navigate to (if you use the HamburgerMenu with a Frame content)
|
ToolTip | object |
Gets or sets a value that specifies ToolTip to display.
|
Methods
Name | Value | Summary |
---|---|---|
CreateInstanceCore |
Freezable | |
RaiseCommand |
void |
Executes the command which can be set by the user.
|