How to give the condition for EventTrigger?
- by Prabu
Is it possible to give the condition within the EventTrigger?? I have written a following EventTrigger (Mouse.MouseLeave) for Radio button. I want this should not be trigged for an item which is in Checked condition (IsChecked=True).
<EventTrigger RoutedEvent="Mouse.MouseLeave" SourceName="border">
<BeginStoryboard Name="out_BeginStoryboard" Storyboard="{StaticResource out}" />
<RemoveStoryboard BeginStoryboardName="over_BeginStoryboard" />
</EventTrigger>
Please let me know how can I achieve this?
Thanks in advance.