For below syntax:
<Button Content="click" >
<Interact:Interaction.Triggers>
<Interact:EventTrigger EventName="MouseEnter">
<Interact:InvokeCommandAction Command="{Binding ButtonCommand}" />
</Interact:EventTrigger>
</Interact:Interaction.Triggers>
</Button>
How can I create a Style
for Button
? I want to apply this command to a lot of buttons. I'm using System.Windows.Interactivity
dll
for event to command.