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
Post a Comment