Exemplo n.º 1
0
 private static void listBox_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     // notify the helper class that the list box has terminated the drag click
     DragSelectionHelper.SetIsDragClickStarted(DragSelectionHelper.ListBox, false);
 }
Exemplo n.º 2
0
 private static void listBox_PreviewMouseLeftButtonDown(object sender, MouseButtonEventArgs e)
 {
     // notify the helper class that the listbox has initiated the drag click
     DragSelectionHelper.SetIsDragClickStarted(DragSelectionHelper.ListBox, true);
 }