When an animation is applied, the property value gets overwritten. How do we prevent the value of property ?

Platform: WPF| Category: 3D Graphics

The value of the property on which the animation is applied is overwritten to ’To’ value of the animation because the animation has higher precedence but this can be prevented using the ‘FillBehavior’ property of the animation. By default, FillBehavior has a value ’HoldEnd’ which causes the value of the property to be overwritten to the value when the animation completes. By setting the FillBehavior value to ’Stop’ will prevent overwriting the property value.

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.