Table of Contents

Class PropertyChangedTrigger

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

Represents a trigger that performs actions when the bound data have changed.

public class PropertyChangedTrigger : TriggerBase<DependencyObject>, IAnimatable, IAttachedObject
Inheritance
PropertyChangedTrigger
Implements
Derived
Inherited Members
Extension Methods

Fields

BindingProperty

public static readonly DependencyProperty BindingProperty

Field Value

DependencyProperty

Properties

Binding

A binding object that the trigger will listen to, and that causes the trigger to fire when it changes.

public object Binding { get; set; }

Property Value

object

Methods

EvaluateBindingChange(object)

Called when the binding property has changed.

protected virtual void EvaluateBindingChange(object args)

Parameters

args object

DependencyPropertyChangedEventArgs argument.

OnAttached()

Called after the trigger is attached to an AssociatedObject.

protected override void OnAttached()

OnDetaching()

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

protected override void OnDetaching()