Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Wpf.Controls

#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