wpf - Start template animation as soon as control is loaded -


i have following code inside controltemplate:

<eventtrigger routedevent="controltemplate.loaded">             <eventtrigger.enteractions>                 <beginstoryboard> 

and want start storyboard have defined in controltemplate, when control loaded. question is: in controltemplate rises loaded event?

i can't use frameworkelement.loaded object target of animation aren't accessible when loaded event fired.

p.s. controltemplate.loaded not working

the controltemplate class has no loaded event. try using loaded or xxx.loaded xxx name of type of control templating, not controltemplate.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -