Skip to main content

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.v21.2.dll

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