ClassCondition
Defines a base abstract class that describes a condition which checks when to apply a style rule. SimpleCondition evaluates when a property of an Element equals a certain value. RoutedEventCondition evaluates if a routed event is currently tunneling/bubbling through an Element. ComplexCondition evaluates two conditions related with a binary operator.
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public abstract class Condition
Inheritance: objectCondition
Derived Classes:
Constructors
Condition()
Declaration
protected Condition()
Properties
AffectedEvents
Retrieves a list of the affected events of the current condition.
Declaration
public List<RaisedRoutedEvent> AffectedEvents { get; }
Property Value
List<RaisedRoutedEvent>
AffectedProperties
Retrieves a list of the affected properties of the current condition.
Declaration
public List<RadProperty> AffectedProperties { get; }
Property Value
List<RadProperty>
Methods
Evaluate(RadObject)
Retrieves a value indicating whether to apply a style rule.
FillAffectedEvents(List<RaisedRoutedEvent>)
Declaration
protected virtual void FillAffectedEvents(List<RaisedRoutedEvent> inList)
Parameters
inList
List<RaisedRoutedEvent>
FillAffectedProperties(List<RadProperty>)
Declaration
protected virtual void FillAffectedProperties(List<RadProperty> inList)
Parameters
inList
List<RadProperty>