Visual Studio 2017 - What happened to Expression interactions?

后端 未结 3 1988
日久生厌
日久生厌 2020-12-09 01:22

I make extensive use of Expression interactions\' CallMethodAction to handle events from XAML in a MVVM-friendly way.

I have just created a new WPF project in VS2017

3条回答
  •  不知归路
    2020-12-09 01:55

    CallMethodAction is defined in Microsoft.Expressions.Interactions.dll. This assembly is not part of the .NET Framework but you can download it using NuGet: https://www.nuget.org/packages/MicrosoftExpressionInteractions/

    And the InvokeCommandAction class is defined in System.Windows.Interactivity.dll assembly: https://www.nuget.org/packages/System.Windows.Interactivity.WPF/

提交回复
热议问题