Class DataTrigger
Represents a trigger that performs actions when the bound data meets a specified condition.
Inheritance
System.Object
DataTrigger
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 DataTrigger : PropertyChangedTrigger, IAttachedObject
Constructors
| Improve this Doc View SourceDataTrigger()
Declaration
public DataTrigger()
Fields
| Improve this Doc View SourceComparisonProperty
Declaration
public static readonly DependencyProperty ComparisonProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ValueProperty
Declaration
public static readonly DependencyProperty ValueProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceComparison
Gets or sets the type of comparison to be performed between the specified values. This is a dependency property.
Declaration
public ComparisonConditionType Comparison { get; set; }
Property Value
Type | Description |
---|---|
ComparisonConditionType |
Value
Gets or sets the value to be compared with the property value of the data object. This is a dependency property.
Declaration
public object Value { 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 override void EvaluateBindingChange(object args)
Parameters
Type | Name | Description |
---|---|---|
System.Object | args | DependencyPropertyChangedEventArgs argument. |