Silverlight how to implement a property of type StoryBoard
I have a custom control and I want to create a storyboard type property that I can set in the xaml, so I tried to follow, but when I run I get an error with the error:
private Storyboard sbTransitionIn_m;
public Storyboard TransitionIn
{
get {return sbTransitionIn_m;}
set {sbTransitionIn_m = value;}
}
XAML:
<MyStuff:MyUserControl x:Name="ctlTest" TransitionIn="sbShow"/>
+1
source to share