PropertyChangedTrigger
(msdn )を使用できます:
以下の例では、Count プロパティの条件が 1 より大きく 100 より小さいことを確認します。
<TextBlock x:Name="textBlock" Background="Green" Text="{Binding Path=Count}">
<i:Interaction.Triggers>
<ei:PropertyChangedTrigger Binding="{Binding Path=Count}">
<i:Interaction.Behaviors>
<ei:ConditionBehavior>
<ei:ConditionalExpression>
<ei:ComparisonCondition LeftOperand="{Binding Count}" Operator="NotEqual" RightOperand="{x:Null}" />
<ei:ComparisonCondition LeftOperand="{Binding Count}" Operator="GreaterThan" RightOperand="1" />
<ei:ComparisonCondition LeftOperand="{Binding Count}" Operator="LessThan" RightOperand="100" />
</ei:ConditionalExpression>
</ei:ConditionBehavior>
</i:Interaction.Behaviors>
<ei:ChangePropertyAction PropertyName="Background">
<ei:ChangePropertyAction.Value>
<SolidColorBrush Color="Red"/>
</ei:ChangePropertyAction.Value>
</ei:ChangePropertyAction>
</ei:PropertyChangedTrigger>
</i:Interaction.Triggers>
</TextBlock>