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.PreviewContentTemplate Property

Gets or sets the data template used to render the button content in the preview.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

#Declaration

public DataTemplate PreviewContentTemplate { get; set; }

#Property Value

Type Description
DataTemplate

The data template used to render the button content in the preview.

#Remarks

Use the HamburgerSubMenuNavigationButton.PreviewContent property to specify the button content displayed in the preview. The PreviewContentTemplate property specifies the data template used to render the provided data object. If no data template is assigned, the object string representation is used.

See Also