引入名称空间:
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
使用:
<i:Interaction.Triggers>
<i:EventTrigger EventName="Loaded">
<i:InvokeCommandAction Command="{Binding LoadingCommand}"/>
</i:EventTrigger>
</i:Interaction.Triggers>