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

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

PostgreSQL 9.x - pg_read_binary_file & inserting files into bytea -

c++ - Update and multiple console windows -