Beispiel #1
0
        private void OnDragInitiated()
        {
            DragActivity = DragActivity.Starting;
            NotifyDragActivityChanged();

            if (DragActivity != DragActivity.Canceled)
            {
                DragActivity = DragActivity.Started;
                NotifyDragActivityChanged();
            }
        }
Beispiel #2
0
 /// <summary>
 /// Cancels the drag operation.
 /// </summary>
 public virtual void CancelDrag()
 {
     DragActivity = DragActivity.Canceled;
 }