HamburgerSubMenuNavigationButton.PreviewMarkTemplate Property
In This Article
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
#Property Value
Type | Description |
---|---|
Data |
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