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

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

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

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