wpf 界面加载 Command

导入

xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
    <i:Interaction.Triggers>
        <i:EventTrigger EventName="Loaded">
            <i:InvokeCommandAction Command="{Binding LoadPageCommand}"></i:InvokeCommandAction>
        </i:EventTrigger>
    </i:Interaction.Triggers>

 

posted @ 2019-06-24 15:43  姚赛  阅读(824)  评论(0编辑  收藏  举报