RibbonGallery.FilterItemTemplateSelector Property

Definition

Gets or sets the custom logic for selecting a DataTemplate that is used to display items in the filter when a custom filter is selected.

C#
public System.Windows.Controls.DataTemplateSelector FilterItemTemplateSelector { get; set; }

Property Value

A custom DataTemplateSelector object that provides logic and returns a DataTemplate. The registered default is null. For more information about what can influence the value, see Dependency Property Value Precedence.

Remarks

You use the FilterItemTemplate property to specify the visualization of the content. If you have more than one template defined and want to specify logic that selects a template to use, then you use this property. This property is ignored if the FilterItemTemplate property is set.

Dependency Property Information

Item Value
Identifier field FilterItemTemplateSelectorProperty
Metadata properties set to true None

Applies to

Producto Versiones
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10