Reputation: 323
I have this code:
<Style x:Key="qwe" TargetType="{x:Type TextBox}">
<Style.Triggers>
<Trigger Property="Text" Value="qwe">
<Setter Property="IsEnabled" Value="False"/>
</Trigger>
</Style.Triggers>
</Style>
But when I have "qwe" in TextBox, It is still enabled. What is wrong?
Upvotes: 0
Views: 1016