Gets or sets the property of the condition. This is only applicable to MultiTrigger objects.
Assembly: PresentationFramework (in PresentationFramework.dll)
MultiTriggers allow you to set property values based on a set of conditions. A condition is satisfied when the value of the property (specified by the property) of the element matches the specified Value (reference equality check). If all specified conditions are satisfied, then the trigger is applied.
If TargetType is not set on the style of the template that contains the triggers. Then you need to qualify the property name using the ClassName.PropertyName syntax.
The following example contains two MultiTriggers. The first sets the MinWidth property value when the HasItems property is false and the Width property is Auto. The second one is similar but is for the MinHeight property.
<Style.Triggers> <Trigger Property="IsEnabled" Value="false"> <Setter Property="Background" Value="#EEEEEE" /> </Trigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="HasItems" Value="false" /> <Condition Property="Width" Value="Auto" /> </MultiTrigger.Conditions> <Setter Property="MinWidth" Value="120"/> </MultiTrigger> <MultiTrigger> <MultiTrigger.Conditions> <Condition Property="HasItems" Value="false" /> <Condition Property="Height" Value="Auto" /> </MultiTrigger.Conditions> <Setter Property="MinHeight" Value="95"/> </MultiTrigger> </Style.Triggers>
Available since 3.0