Skip to main content

TileBarItem.FlyoutContentTemplateSelector Property

Gets or sets the DataTemplateSelector object that provides a way to choose a DataTemplate used to render the flyout content. This is a dependency property.

Namespace: DevExpress.Xpf.Navigation

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

NuGet Package: DevExpress.Wpf.Controls

Declaration

public DataTemplateSelector FlyoutContentTemplateSelector { get; set; }

Property Value

Type Description
DataTemplateSelector

A DataTemplateSelector object that provides a way to choose a DataTemplate used to render the flyout content.

Remarks

You can declare several data templates and apply one of them to render the flyout content (see TileBarItem.FlyoutContent) based on your own logic. To implement this approach, first create the System.Windows.Controls.DataTemplateSelector descendant and override the DataTemplateSelector.SelectTemplate method to realize the template selection logic. Then, assign an instance of this object to the FlyoutContentTemplateSelector property and declare your data templates. The data templates can be defined in the window resources dictionary.

See Also