Skip to main content

MenuFlyout.ItemTemplate Property

Gets or sets a template used to visualize MenuFlyoutItems within this MenuFlyout. This is a dependency property.

Namespace: DevExpress.Xpf.WindowsUI

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public DataTemplate ItemTemplate { get; set; }

Property Value

Type Description
DataTemplate

A DataTemplate object that specifies the corresponding template.

Remarks

The DataTemplate must be defined as a ContentControl with a MenuFlyoutItem object descendant as the content.

The ItemTemplate property supports the MVVM design pattern. See MVVM Support to learn more.

See Also