ListView usage in ERP-DEV
ListView Learning Note
how to add double click event to listviewitem in ListView.
- refer link in stackoverflow
- Some notes about this. we can use add event in Style by using EventSetter.
Sample code:
xaml:<ListView.ItemContainerStyle> <Style TargetType="ListViewItem"> <EventSetter Event="MouseDoubleClick" Handler="MouseDoubleClickEvent" /> </Style> </ListView.ItemContainerStyle>
xmal.cs:
```
privite void MouseDoubleClickEvent(object sender, EventArgs e)
{
}
```