I would like to add a right click and left click command to each listboxitem in a style. Is this possible?
<Style TargetType="{x:Type ListBoxItem}">
<Setter Property="InputBindings">
<Setter.Value>
<MouseBinding Command="{x:Static View:Commands.AddItem}" MouseAction="LeftClick"/>
<MouseBinding Command="{x:Static View:Commands.RemoveItem}" MouseAction="RightClick"/>
</Setter.Value>
</Setter>
</Style>