Ejemplo n.º 1
0
 void OnDragStarting(object sender, C1DragStartingEventArgs e)
 {
 }
Ejemplo n.º 2
0
 private bool RaiseDragStarting(RoutedEventArgs e)
 {
     var c1DragStartingEventArg = new C1DragStartingEventArgs(this, e, _pointerType, _mode, _captureElementOnMouseDown, _initialThreshold);
     if (DragStarting != null)
     {
         DragStarting(_element, c1DragStartingEventArg);
     }
     _actualMode = c1DragStartingEventArg.Mode;
     _actualCaptureElementOnMouseDown = (c1DragStartingEventArg.InitialThreshold == 0 ? true : c1DragStartingEventArg.CaptureElementOnPointerPressed);
     _actualInitialThreshold = c1DragStartingEventArg.InitialThreshold;
     return !c1DragStartingEventArg.Cancel;
 }