C# Class MahApps.Metro.Controls.HamburgerMenu

The HamburgerMenu is based on a SplitView control. By default it contains a HamburgerButton and a ListView to display menu items.
Afficher le fichier Open project: MahApps/MahApps.Metro Class Usage Examples

Méthodes publiques

Свойство Type Description
CompactPaneLengthProperty System.Windows.DependencyProperty
ContentTransitionProperty System.Windows.DependencyProperty
DisplayModeProperty System.Windows.DependencyProperty
HamburgerHeightProperty System.Windows.DependencyProperty
HamburgerMarginProperty System.Windows.DependencyProperty
HamburgerMenuTemplateProperty System.Windows.DependencyProperty
HamburgerWidthProperty System.Windows.DependencyProperty
IsPaneOpenProperty System.Windows.DependencyProperty
ItemTemplateProperty System.Windows.DependencyProperty
ItemsSourceProperty System.Windows.DependencyProperty
OpenPaneLengthProperty System.Windows.DependencyProperty
OptionsItemTemplateProperty System.Windows.DependencyProperty
OptionsItemsSourceProperty System.Windows.DependencyProperty
OptionsVisibilityProperty System.Windows.DependencyProperty
PaneBackgroundProperty System.Windows.DependencyProperty
PanePlacementProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
HamburgerMenu ( ) : System.Windows

Initializes a new instance of the HamburgerMenu class.

OnApplyTemplate ( ) : void

Override default OnApplyTemplate to capture children controls

Private Methods

Méthode Description
ButtonsListView_ItemClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
HamburgerButton_Click ( object sender, RoutedEventArgs e ) : void
OptionsListView_ItemClick ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void

Method Details

HamburgerMenu() public méthode

Initializes a new instance of the HamburgerMenu class.
public HamburgerMenu ( ) : System.Windows
Résultat System.Windows

OnApplyTemplate() public méthode

Override default OnApplyTemplate to capture children controls
public OnApplyTemplate ( ) : void
Résultat void

Property Details

CompactPaneLengthProperty public_oe static_oe property

Identifies the CompactPaneLength dependency property.
public static DependencyProperty,System.Windows CompactPaneLengthProperty
Résultat System.Windows.DependencyProperty

ContentTransitionProperty public_oe static_oe property

public static DependencyProperty,System.Windows ContentTransitionProperty
Résultat System.Windows.DependencyProperty

DisplayModeProperty public_oe static_oe property

Identifies the DisplayMode dependency property.
public static DependencyProperty,System.Windows DisplayModeProperty
Résultat System.Windows.DependencyProperty

HamburgerHeightProperty public_oe static_oe property

Identifies the HamburgerHeight dependency property.
public static DependencyProperty,System.Windows HamburgerHeightProperty
Résultat System.Windows.DependencyProperty

HamburgerMarginProperty public_oe static_oe property

Identifies the HamburgerMargin dependency property.
public static DependencyProperty,System.Windows HamburgerMarginProperty
Résultat System.Windows.DependencyProperty

HamburgerMenuTemplateProperty public_oe static_oe property

Identifies the HamburgerMenuTemplate dependency property.
public static DependencyProperty,System.Windows HamburgerMenuTemplateProperty
Résultat System.Windows.DependencyProperty

HamburgerWidthProperty public_oe static_oe property

Identifies the HamburgerWidth dependency property.
public static DependencyProperty,System.Windows HamburgerWidthProperty
Résultat System.Windows.DependencyProperty

IsPaneOpenProperty public_oe static_oe property

Identifies the IsPaneOpen dependency property.
public static DependencyProperty,System.Windows IsPaneOpenProperty
Résultat System.Windows.DependencyProperty

ItemTemplateProperty public_oe static_oe property

Identifies the ItemTemplate dependency property.
public static DependencyProperty,System.Windows ItemTemplateProperty
Résultat System.Windows.DependencyProperty

ItemsSourceProperty public_oe static_oe property

Identifies the ItemsSource dependency property.
public static DependencyProperty,System.Windows ItemsSourceProperty
Résultat System.Windows.DependencyProperty

OpenPaneLengthProperty public_oe static_oe property

Identifies the OpenPaneLength dependency property.
public static DependencyProperty,System.Windows OpenPaneLengthProperty
Résultat System.Windows.DependencyProperty

OptionsItemTemplateProperty public_oe static_oe property

Identifies the OptionsItemTemplate dependency property.
public static DependencyProperty,System.Windows OptionsItemTemplateProperty
Résultat System.Windows.DependencyProperty

OptionsItemsSourceProperty public_oe static_oe property

Identifies the OptionsItemsSource dependency property.
public static DependencyProperty,System.Windows OptionsItemsSourceProperty
Résultat System.Windows.DependencyProperty

OptionsVisibilityProperty public_oe static_oe property

Identifies the OptionsVisibility dependency property.
public static DependencyProperty,System.Windows OptionsVisibilityProperty
Résultat System.Windows.DependencyProperty

PaneBackgroundProperty public_oe static_oe property

Identifies the PaneBackground dependency property.
public static DependencyProperty,System.Windows PaneBackgroundProperty
Résultat System.Windows.DependencyProperty

PanePlacementProperty public_oe static_oe property

Identifies the PanePlacement dependency property.
public static DependencyProperty,System.Windows PanePlacementProperty
Résultat System.Windows.DependencyProperty