MaterialDesignInXamlToolkit icon indicating copy to clipboard operation
MaterialDesignInXamlToolkit copied to clipboard

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

Open osekj opened this issue 1 year ago • 1 comments

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

osekj avatar Jun 17 '24 14:06 osekj

Could you elaborate? Where is this code residing?

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

MichelMichels avatar Jun 17 '24 21:06 MichelMichels

Sorry for the late response as my concept have changed and it was no longer needed, I have since finished upgrading to 5.0 and trying it once more everything works fine and animation can be seen.

osekj avatar Jul 09 '24 12:07 osekj

Thanks for the follow-up. I'll close the issue.

MichelMichels avatar Jul 09 '24 13:07 MichelMichels