MultiDataTrigger Class
Represents a trigger that applies property values or performs actions when the bound data meet a set of conditions.
A MultiDataTrigger object is similar to a MultiTrigger, except that the conditions of a MultiDataTrigger are based on property values of bound data instead of those of a UIElement. In a MultiDataTrigger, a condition is met when the property value of the data item matches the specified Value. You can then use setters or the EnterActions and ExitActions properties to apply changes or start actions when all of the conditions are met.
http://msdn.microsoft.com/en-us/library/system.windows.multidatatrigger.aspx
Methods
From DependencyObject
Name | Description |
---|---|
ClearAnimation | Clears the animation value of a property |
ClearAnimation | Clears the animation value of a property |
ClearLocalValue | Clears the local value of a property The property to be cleared is specified by a DependencyProperty identifier |
CoerceValue | Coerces and validates the effective property value |
CoerceValue | Coerces and validates the effective property value |
DependencyPropertyChanged | Returns the PropertyChanged event |
GetBaseValue | Returns the base value without animation nor coerce (this never returns IExpression like GetLocalValue) |
GetLocalValue | Returns the local value of a dependency property, if it exists. |
GetValue | Returns the current effective value of a dependency property on this instance of a DependencyObject |
GetValueObject | Returns the current effective value of a dependency property on this instance of a DependencyObject as a boxed value |
GetValueProvider | Gets the provider that returns the effective value for the specified dependency property |
HasAnimatedProperties | Returns true if there is any animated property |
InvalidateProperty | Re-evaluates the effective value for the specified dependency property if necessary If null is passed, a full re-evaluation could be needed |
IsCached | Returns if the value is stored in the cache. If true, the priority is returned in the provider field |
SetAnimation | Sets the animated value of a property |
SetCurrentValue | Sets the current value of a dependency property. The current value is set on the coerce field, without modifying source or animated value |
SetCurrentValueObject | Sets the current value of a dependency property using a boxed value |
SetExpression | Sets the expression to be evaluated dynamically to obtain the value of the property |
SetValue | Sets the local value of a dependency property |
SetValueObject | Sets the local value of a dependency property using a boxed value |
Properties
From MultiDataTrigger
Name | Description | |
---|---|---|
![]() |
Conditions | Gets a collection of Condition objects. Changes to property values are applied when all of the conditions in the collection are met. |
![]() |
Setters | Gets a collection of Setter objects, which describe the property values to apply when all of the conditions of the MultiTrigger are met. |


From BaseTrigger
Name | Description | |
---|---|---|
![]() |
EnterActions | Gets a collection of TriggerAction objects to apply when the trigger object becomes active. This property does not apply to the EventTrigger class |
![]() |
ExitActions | Gets a collection of TriggerAction objects to apply when the trigger object becomes inactive. This property does not apply to the EventTrigger class |


Events
MultiDataTrigger has no events