WPF+ListBox 鼠标双击事件
利用MouseBinding实现MVVM模式下的鼠标双击命令
<ListBox x:Name="cList" MinHeight="50" ItemsSource="{Binding CateCombinVM.CategoryCombinList}" Grid.Row="0" Grid.ColumnSpan="3">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="HorizontalContentAlignment" Value="Stretch"/>
<Setter Property="Background" Value="LightPink"/>
</Style>
</ListBox.ItemContainerStyle>
<ListBox.ItemTemplate>
<DataTemplate>