Table of Contents

Class ConditionBehavior

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

A behavior that attaches to a trigger and controls the conditions to fire the actions.

public class ConditionBehavior : Behavior<TriggerBase>, IAnimatable, IAttachedObject
Inheritance
ConditionBehavior
Implements
Inherited Members
Extension Methods

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()

Called after the behavior is attached to an AssociatedObject.

protected override void OnAttached()

Remarks

Override this to hook up functionality to the AssociatedObject.

OnDetaching()

Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.

protected override void OnDetaching()

Remarks

Override this to unhook functionality from the AssociatedObject.