Class PropertyChangedTrigger
Represents a trigger that performs actions when the bound data have changed.
Inheritance
System.Object
PropertyChangedTrigger
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Microsoft.Expression.Interactivity.Core
Assembly: OpenSilver.Expression.Interactions.dll
Syntax
public class PropertyChangedTrigger : TriggerBase<DependencyObject>, IAttachedObject
Fields
| Improve this Doc View SourceBindingProperty
Declaration
public static readonly DependencyProperty BindingProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceBinding
A binding object that the trigger will listen to, and that causes the trigger to fire when it changes.
Declaration
public object Binding { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEvaluateBindingChange(Object)
Called when the binding property has changed. UA_REVIEW:chabiss
Declaration
protected virtual void EvaluateBindingChange(object args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | args | DependencyPropertyChangedEventArgs argument. |
OnAttached()
Called after the trigger is attached to an AssociatedObject. UA_REVIEW:chabiss
Declaration
protected override void OnAttached()
Overrides
| Improve this Doc View SourceOnDetaching()
Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred. UA_REVIEW:chabiss
Declaration
protected override void OnDetaching()