Skip to main content

HamburgerSubMenuNavigationButton Class

Represents a button with an icon in the HamburgerMenu‘s sub-menu.

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v21.2.dll

NuGet Package: DevExpress.Uwp.Controls

Declaration

[TemplatePart(Name = "PART_PreviewMark", Type = typeof(ContentPresenter))]
[TemplatePart(Name = "PART_RightContent", Type = typeof(ContentControl))]
[TemplateVisualState(GroupName = "CombinedStates", Name = "UnselectedNormal")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "UnselectedPointerOver")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "UnselectedPressed")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "UnselectedDisabled")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "SelectedNormal")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "SelectedPointerOver")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "SelectedPressed")]
[TemplateVisualState(GroupName = "CombinedStates", Name = "SelectedDisabled")]
public class HamburgerSubMenuNavigationButton :
    NavigationButton,
    IHamburgerSubMenuItem,
    IVisualItem,
    ISupportOwner<HamburgerSubMenu>,
    IHamburgerMenuNavigationItem,
    ISelectableHamburgerMenuItem,
    ISelectable,
    INavigationItem,
    ISupportNavigationTarget,
    IItemsSourceControllerItem

Remarks

You add buttons to the HamburgerMenu‘s sub-menu using the HamburgerSubMenu.Items collection.

The sub-menu items are displayed in a fly-out panel that is invoked with a click on the sub-menu button. You can also display the current sub-menu item directly in the HamburgerMenu below the sub-menu button in a preview. To do this, set the HamburgerSubMenuNavigationButton.ShowInPreview property to true.

Inheritance

Object
DependencyObject
Windows.UI.Xaml.UIElement
FrameworkElement
Control
Windows.UI.Xaml.Controls.ContentControl
Windows.UI.Xaml.Controls.Primitives.ButtonBase
Windows.UI.Xaml.Controls.Button
DevExpress.UI.Xaml.Layout.NavigationButton
HamburgerSubMenuNavigationButton
See Also