小编ByB*_*Bye的帖子

我应该如何从 .net core 3.0 中的 WPF 绑定 xaml 事件?

我应该如何在 netcore 3.0 中绑定事件?在 WPF 项目(netcore3.0)中,没有像 Interactive.dll 那样做

<i:Interaction.Triggers>
    <i:EventTrigger EventName="MouseDoubleClick">
        <i:InvokeCommandAction Command="{Binding Path=DoSomethingCommand}"/>
    </i:EventTrigger>
</i:Interaction.Triggers>
Run Code Online (Sandbox Code Playgroud)

那么如何在 WPF (netcore3.0) 中绑定事件?

c# wpf xaml binding .net-core

3
推荐指数
1
解决办法
3048
查看次数

标签 统计

.net-core ×1

binding ×1

c# ×1

wpf ×1

xaml ×1