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:
C#
public class ConditionalStyleSelector : StyleSelector
Inheritance: objectConditionalStyleSelector
Constructors
Initializes a new instance of the ConditionalStyleSelector class.
C#
public ConditionalStyleSelector()
Properties
Gets the rules which will determine what Style to select for a given data object.
C#
public RuleCollection<StyleRule> Rules { get; }
The rules which will determine what Style to select for a given data object.
Methods
C#
public override Style SelectStyle(object item, DependencyObject container)
Style