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