The requested page is not available for the requested platform. You are viewing the content for Default platform.

HamburgerSubMenuNavigationButton Class

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

Namespace: DevExpress.UI.Xaml.Layout

Assembly: DevExpress.UI.Xaml.Layout.v19.1.dll

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
<TemplatePart(Name:="PART_PreviewMark", Type:=GetType(ContentPresenter))>
<TemplatePart(Name:="PART_RightContent", Type:=GetType(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
    Inherits NavigationButton
    Implements IHamburgerSubMenuItem,
               IVisualItem,
               ISupportOwner(Of 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
Windows.UI.Xaml.DependencyObject
Windows.UI.Xaml.UIElement
Windows.UI.Xaml.FrameworkElement
Windows.UI.Xaml.Controls.Control
Windows.UI.Xaml.Controls.ContentControl
Windows.UI.Xaml.Controls.Primitives.ButtonBase
Windows.UI.Xaml.Controls.Button
DevExpress.UI.Xaml.Layout.NavigationButton
HamburgerSubMenuNavigationButton

Implements

Windows.UI.Composition.IAnimationObject
DevExpress.UI.Xaml.Layout.Internal.IHamburgerSubMenuItem
DevExpress.UI.Xaml.Internal.IVisualItem
DevExpress.UI.Xaml.Internal.ISupportOwner<HamburgerSubMenu>
DevExpress.UI.Xaml.Layout.Internal.IHamburgerMenuNavigationItem
DevExpress.UI.Xaml.Layout.Internal.ISelectableHamburgerMenuItem
DevExpress.UI.Xaml.Internal.ISelectable
DevExpress.UI.Xaml.Layout.Internal.INavigationItem
DevExpress.Core.Native.ISupportNavigationTarget
DevExpress.UI.Xaml.Internal.IItemsSourceControllerItem
See Also