Skip to main content
A newer version of this page is available. .

HamburgerSubMenuNavigationButton.PreviewMarkTemplate Property

Gets or sets the template used to render the ‘favorite’ mark for the current item.

Namespace: DevExpress.Xpf.WindowsUI

Assembly: DevExpress.Xpf.Controls.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Controls, DevExpress.Wpf.Navigation

Declaration

public DataTemplate PreviewMarkTemplate { get; set; }

Property Value

Type Description
DataTemplate

The template used to render the ‘favorite’ mark for the current item.

Remarks

Use the HamburgerSubMenuNavigationButton.ShowPreviewMark property to specify whether to show the ‘favorite’ mark for the current item. The PreviewMarkTemplate property specifies the template used to render the mark.

<dxwui:HamburgerSubMenuNavigationButton Content="Settings" ShowInPreview="True" ShowPreviewMark="True">
     <dxwui:HamburgerSubMenuNavigationButton.PreviewMarkTemplate>
         <DataTemplate>
             <TextBlock Text="Fav"/>
         </DataTemplate>
     </dxwui:HamburgerSubMenuNavigationButton.PreviewMarkTemplate>
 </dxwui:HamburgerSubMenuNavigationButton>
See Also