If I have a BooleanAnimation that sets a property, that property becomes locked and can't be changed by any other means.
Example:
<EventTrigger
SourceName="myButton"
RoutedEvent="Button.Click">
<EventTrigger.Actions>
<BeginStoryboard>
<Storyboard>
<BooleanAnimationUsingKeyFrames
Storyboard.TargetName="myCheckBox"
Storyboard.TargetProperty="IsChecked"
FillBehavior="HoldEnd">
<DiscreteBooleanKeyFrame
KeyTime="00:00:00"
Value="False" />
</BooleanAnimationUsingKeyFrames>
</Storyboard>
</BeginStoryboard>
</EventTrigger.Actions>
</EventTrigger>
In this example, if the button is clicked the checkbox is set to false, however, if the user attempts to check the checkBox again the checkbox is unresponsive. The IsChecked property can't be set through code either (after the button has been clicked).
I can create another animation that will update the CheckBox, but that's not the behavior I require.
I've also tried FillBehavior="Stop", but that just causes the Animation not to work either.