예제 #1
0
        private void Slider_DragCompleted(object sender, DragCompletedEventArgs e)
        {
            var value = ((Slider)sender).Value;

            DragCompletedEvent?.Invoke(value);
            Debug.WriteLine("Slider_DragCompleted");
        }
예제 #2
0
        internal static void RaiseDragCompletedEvent(this DragItemsControl sender, DragTabCompletedEventArgs args)
        {
            if (DragCompletedEvent != null)
            {
                args.SourceTabControl.Items.Remove(args.TabItem);
            }

            DragCompletedEvent?.Invoke(sender, args);
        }