Created
April 17, 2014 11:32
-
-
Save dkalamari/10975989 to your computer and use it in GitHub Desktop.
WPF Event to Command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NuGet installation | |
PM> Install-Package System.Windows.Interactivity.WPF | |
Must be installed in Main project also!!! | |
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" | |
<i:Interaction.Triggers> | |
<i:EventTrigger EventName="MouseDoubleClick"> | |
<i:InvokeCommandAction Command="{Binding SetUserCommand}"/> | |
</i:EventTrigger> | |
</i:Interaction.Triggers> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment