经过实践检测,当时View上设置了Window.SizeToContent="WidthAndHeight"时候
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<i:InvokeCommandAction Command="{Binding LoadedCommand}" CommandParameter="{Binding ElementName=pageProject}"/>
</i:EventTrigger>
<i:Interaction.Triggers>
事件不会被触发,可能是组件BUG
标签:触发,MVVM,模式,WidthAndHeight,loaded,WPF From: https://www.cnblogs.com/xietianjiao/p/17130932.html