Class ConditionBehavior
A behavior that attaches to a trigger and controls the conditions to fire the actions.
public class ConditionBehavior : Behavior<TriggerBase>, IAttachedObject
- Inheritance
-
ConditionBehavior
- Implements
- Inherited Members
Constructors
ConditionBehavior()
Initializes a new instance of the ConditionBehavior class.
public ConditionBehavior()
Fields
ConditionProperty
public static readonly DependencyProperty ConditionProperty
Field Value
- DependencyProperty
Properties
Condition
Gets or sets the IConditon object on behavior.
public ICondition Condition { get; set; }
Property Value
- ICondition
The name of the condition to change.
Methods
OnAttached()
protected override void OnAttached()
OnDetaching()
protected override void OnDetaching()