RibbonGallery.FilterItemContainerStyleSelector Property

Definition

Gets or sets the custom logic for selecting a Style that is applied to items in the filter when a custom filter is selected.

C#
public System.Windows.Controls.StyleSelector FilterItemContainerStyleSelector { get; set; }

Property Value

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

Remarks

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

Dependency Property Information

Item Value
Identifier field FilterItemContainerStyleSelectorProperty
Metadata properties set to true None

Applies to

Produto Versões
.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