I have a duration (0: 0: 0.5) that I use in several animations, and I would like to determine this number in only one place. I can define double, for example, as
<Window.Resources>
<sys:Double x:Key="GridWidth">400</sys:Double>
</Window.Resources>
But not sure how duration should be expressed as a resource. Thank.
source
share