I wanted to associate an event with a ViewModel.
I used
CLRs: System.Windows.Interactivity; assembly = System.Windows.Interactivity
and I used a trigger for the same
<Canvas Grid.Row="2" Grid.Column="2" x:Name="InteractiveCanvas" Style="{StaticResource canvasChartStyle}" ClipToBounds="True" >
<intr:Interaction.Triggers>
<intr:EventTrigger EventName="MouseEnter">
<intr:InvokeCommandAction Command="AppointmentEditing" />
</intr:EventTrigger>
</intr:Interaction.Triggers>
</Canvas>
but I need event arguments to be used. Here I can not get the same.
In wpf, is there any way to bind events and get event arguments? Without using MVVM lite or PRISM.
I just want to get event arguments
source
share