Skip to main content

HamburgerSubMenuNavigationButton Properties

Represents a button with an icon in the HamburgerMenu‘s sub-menu.
Name Description
ContextMenu Gets or sets the context menu that is invoked when the end-user right-clicks the navigation button.
HideMenuWhenSelected Gets or sets whether the HamburgerMenu is automatically hidden when the current item is selected.
IsSelected Gets or sets whether the current item is selected among the items in the HamburgerSubMenu to which it belongs.
PreviewContent Gets or sets the content for the current sub-menu item displayed directly in the main menu as a preview.
PreviewContentTemplate Gets or sets the data template used to render the item’s content in the preview.
PreviewContextMenu Gets or sets the context menu that is invoked when the end-user right-clicks the navigation button shown in the preview.
PreviewMarkTemplate Gets or sets the template used to render the favorite mark for the current button.
PreviewRightContent Gets or sets the additional button content displayed to the right of the principal content when the button is displayed in the preview.
PreviewRightContentTemplate Gets or sets the data template used to render the additional content of the current button displayed in the preview.
RightContent Gets or sets the additional button content displayed to the right of the main content.
RightContentMargin Gets or sets the outer margin of the additional content displayed to the right of the main content.
RightContentTemplate Gets or sets the data template used to render the additional content displayed to the right of the main content.
ShowInPreview Gets or sets whether the current sub menu item is shown as a preview directly in the main menu below the sub-menu button. This is a dependency property.
ShowPreviewMark Gets or sets whether the current item is marked as favorite in the sub-menu fly-out panel when it is assigned to be displayed in the preview.
SyncWithActivePage Gets or sets whether the current button is automatically selected if the button’s target page has been navigated.
UseContextMenuAsPreview Gets or sets whether to use the context menu assigned to the HamburgerSubMenuNavigationButton.ContextMenu property regardless of whether the button is shown in the regular Sub Menu or in the preview. This is a dependency property.
UseNavigationTargetParameterForSync Gets or sets whether to use current button’s navigation parameters to synchronize the button selection in the menu with the navigated page.
See Also