Class ConditionalStyleSelector
Provides a way to choose a System.Windows.Style for a data-bound element by testing the data object against a set of predefined rules.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.GridView.dll
Syntax
public class ConditionalStyleSelector : StyleSelector
Constructors
ConditionalStyleSelector()
Initializes a new instance of the ConditionalStyleSelector class.
Declaration
public ConditionalStyleSelector()
Properties
Rules
Gets the rules which will determine what System.Windows.Style to select for a given data object.
Declaration
public RuleCollection<StyleRule> Rules { get; }
Property Value
RuleCollection<StyleRule>
The rules which will determine what System.Windows.Style to select for a given data object. |
Methods
SelectStyle(Object, DependencyObject)
Declaration
public override Style SelectStyle(object item, DependencyObject container)
Parameters
System.Object
item
|
System.Windows.DependencyObject
container
|
Returns
System.Windows.Style
|