Reputation: 481
I have two animations triggered by true/false code-behind variable. If the variable is true - one of the animations starts, if false the other starts.
But how to achieve no animation on load of the app?
Upvotes: 0
Views: 96
Reputation: 1778
You could either use a bool?, meaning a nullable boolean, so you have three states (null, true, false) or you could write a DependencyProperty which can have an initial Value of UnsetValue (DependencyProperty.UnsetValue).
Upvotes: 1