HamburgerMenuItem Class
The HamburgerMenuItem provides an implementation for HamburgerMenu entries.
graph BT Type-->Base0["HamburgerMenuItemBase"] click Base0 "/mahapps.com/api/MahApps.Metro.Controls/HamburgerMenuItemBase" Base0-->Base1["Freezable"] Type-.->Interface0["IHamburgerMenuItemBase"] click Interface0 "/mahapps.com/api/MahApps.Metro.Controls/IHamburgerMenuItemBase" Type-.->Interface1["IHamburgerMenuItem"] click Interface1 "/mahapps.com/api/MahApps.Metro.Controls/IHamburgerMenuItem" Type-.->Interface2["ICommandSource"] Type["HamburgerMenuItem"] class Type type-node Derived0["HamburgerMenuImageItem"]-->Type click Derived0 "/mahapps.com/api/MahApps.Metro.Controls/HamburgerMenuImageItem" Derived1["HamburgerMenuGlyphItem"]-->Type click Derived1 "/mahapps.com/api/MahApps.Metro.Controls/HamburgerMenuGlyphItem" Derived2["HamburgerMenuIconItem"]-->Type click Derived2 "/mahapps.com/api/MahApps.Metro.Controls/HamburgerMenuIconItem"

Syntax

public class HamburgerMenuItem : HamburgerMenuItemBase, IHamburgerMenuItemBase, IHamburgerMenuItem, 
    ICommandSource

Fields

Name Field Type Constant Value Summary
CommandParameterProperty DependencyProperty
Identifies the CommandParameter dependency property.
static
CommandProperty DependencyProperty
Identifies the Command dependency property.
static
CommandTargetProperty DependencyProperty
Identifies the CommandTarget dependency property.
static
IsEnabledProperty DependencyProperty
Identifies the IsEnabled dependency property.
static
IsVisibleProperty DependencyProperty
Identifies the IsVisible dependency property.
Inherited from HamburgerMenuItemBase
static
LabelProperty DependencyProperty
Identifies the Label dependency property.
static
TagProperty DependencyProperty
Identifies the Tag dependency property.
Inherited from HamburgerMenuItemBase
static
TargetPageTypeProperty DependencyProperty
Identifies the TargetPageType dependency property.
static
ToolTipProperty DependencyProperty
Identifies the ToolTip dependency property.
static

Properties

Name Property Type 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 HamburgerMenuItemBase
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 HamburgerMenuItemBase
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 Return Value Summary
CreateInstanceCore() Freezable
RaiseCommand() void
Executes the command which can be set by the user.