Table of Contents

Class DataTrigger

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

Represents a trigger that performs actions when the bound data meets a specified condition.

public class DataTrigger : PropertyChangedTrigger, IAnimatable, IAttachedObject
Inheritance
DataTrigger
Implements
Inherited Members
Extension Methods

Constructors

DataTrigger()

public DataTrigger()

Fields

ComparisonProperty

public static readonly DependencyProperty ComparisonProperty

Field Value

DependencyProperty

ValueProperty

public static readonly DependencyProperty ValueProperty

Field Value

DependencyProperty

Properties

Comparison

Gets or sets the type of comparison to be performed between the specified values. This is a dependency property.

public ComparisonConditionType Comparison { get; set; }

Property Value

ComparisonConditionType

Value

Gets or sets the value to be compared with the property value of the data object. This is a dependency property.

public object Value { get; set; }

Property Value

object

Methods

EvaluateBindingChange(object)

Called when the binding property has changed. UA_REVIEW:chabiss

protected override void EvaluateBindingChange(object args)

Parameters

args object

DependencyPropertyChangedEventArgs argument.