RibbonGallery.FilterItemContainerStyleSelector Property

.NET Framework (current version)

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

Namespace:   System.Windows.Controls.Ribbon
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public StyleSelector FilterItemContainerStyleSelector { get; set; }

Property Value

Type: System.Windows.Controls.StyleSelector

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.

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.

Identifier field


Metadata properties set to true


.NET Framework
Available since 4.5
Return to top