Can't get XAML Storyboard by x:Key, have to add x:Name manually
Posted: 01 Jun 2017, 13:48
I found out that I can't use FindName() with the x:Key value of a Storyboard created in BLEND.
When I add a x:Name manually, I can use FindName() to access it.
Is there a way to access a Storyboard via x:Key? BLEND denotes it as "Name", but in the file it's x:Key.
So I'm forced to edit the XAML by hand and add x:Name.
I guess that's not the way it's supposed to be...
Thanks!
When I add a x:Name manually, I can use FindName() to access it.
Is there a way to access a Storyboard via x:Key? BLEND denotes it as "Name", but in the file it's x:Key.
So I'm forced to edit the XAML by hand and add x:Name.
I guess that's not the way it's supposed to be...
Thanks!