I want to add animation that starts immediately when the window opens, but I have Microsoft Blend 2022 which does not have triggers option so I have to write in code how do I want my animation to start, but I am not sure how to start it immediately.
I have tried to find a way through some videos but nobody explains how to make the animation start immediately when the window opens.
Just add to your Window's XAML trigger under
Window.Triggers
, based onFrameworkElement.Loaded
event, without specifyingSourceName
property (it would be window itself). That's what Blend does (afaik).XAML: