Bewerken

Delen via


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.

public:
 property System::Windows::Controls::StyleSelector ^ FilterItemContainerStyleSelector { System::Windows::Controls::StyleSelector ^ get(); void set(System::Windows::Controls::StyleSelector ^ value); };
public System.Windows.Controls.StyleSelector FilterItemContainerStyleSelector { get; set; }
member this.FilterItemContainerStyleSelector : System.Windows.Controls.StyleSelector with get, set
Public Property FilterItemContainerStyleSelector As StyleSelector

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

Identifier field FilterItemContainerStyleSelectorProperty
Metadata properties set to true None

Applies to