private void Slider_DragCompleted(object sender, DragCompletedEventArgs e) { var value = ((Slider)sender).Value; DragCompletedEvent?.Invoke(value); Debug.WriteLine("Slider_DragCompleted"); }
internal static void RaiseDragCompletedEvent(this DragItemsControl sender, DragTabCompletedEventArgs args) { if (DragCompletedEvent != null) { args.SourceTabControl.Items.Remove(args.TabItem); } DragCompletedEvent?.Invoke(sender, args); }