RibbonGallery.FilterItemContainerStyleSelector Property
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: Microsoft.Windows.Controls.Ribbon
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Property FilterItemContainerStyleSelector As StyleSelector
public StyleSelector FilterItemContainerStyleSelector { get; set; }
public:
property StyleSelector^ FilterItemContainerStyleSelector {
StyleSelector^ get ();
void set (StyleSelector^ value);
}
member FilterItemContainerStyleSelector : StyleSelector with get, set
function get FilterItemContainerStyleSelector () : StyleSelector
function set FilterItemContainerStyleSelector (value : StyleSelector)
Property Value
Type: System.Windows.Controls.StyleSelector
A custom StyleSelector object that provides logic and returns a Style. The registered default is nulla null reference (Nothing in Visual Basic). For more information about what can influence the value, see Dependency Property Value Precedence.
Dependency Property Information
Identifier field |
|
Metadata properties set to true |
None |
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.