MaterialDesignInXAML / MaterialDesignInXamlToolkit

Google's Material Design in XAML & WPF, for C# & VB.Net.
http://materialdesigninxaml.net
MIT License
14.82k stars 3.4k forks source link

Transitions don't work when Loaded event is binded to command #3602

Open osekj opened 2 weeks ago

osekj commented 2 weeks ago

Bug explanation

<i:EventTrigger EventName="Loaded"> <i:InvokeCommandAction Command="{Binding LoadedCommand}" /> </i:EventTrigger>

When having Loaded event binded to ViewModel's command transitions are not fired. Removing the mentioned binding helps.

Version

4.9

MichelMichels commented 1 week ago

Could you elaborate? Where is this code residing?

Also, is there a specific reason why you are targeting an older version?