Class Condition
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.
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public abstract class Condition
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
System.Collections.Generic.List<RaisedRoutedEvent>
|
AffectedProperties
Retrieves a list of the affected properties of the current condition.
Declaration
public List<RadProperty> AffectedProperties { get; }
Property Value
System.Collections.Generic.List<RadProperty>
|
Methods
Evaluate(RadObject)
Retrieves a value indicating whether to apply a style rule.
Declaration
public abstract bool Evaluate(RadObject target)
Parameters
RadObject
target
|
Returns
System.Boolean
|
FillAffectedEvents(List<RaisedRoutedEvent>)
Declaration
protected virtual void FillAffectedEvents(List<RaisedRoutedEvent> inList)
Parameters
System.Collections.Generic.List<RaisedRoutedEvent>
inList
|
FillAffectedProperties(List<RadProperty>)
Declaration
protected virtual void FillAffectedProperties(List<RadProperty> inList)
Parameters
System.Collections.Generic.List<RadProperty>
inList
|