Beispiel #1
0
        /// <summary>
        /// Called before the ManipulationStarted event occurs.
        /// </summary>
        /// <param name="e">Event data for the event.</param>
        protected override void OnManipulationStarted(ManipulationStartedRoutedEventArgs e)
        {
            base.OnManipulationStarted(e);

            if (e.Handled)
            {
                return;
            }

            if (e.PointerDeviceType == PointerDeviceType.Touch)
            {
                this.Focus(FocusState.Pointer);
                e.Handled = this.ActualController.HandleTouchStarted(this, e.ToTouchEventArgs(this));
            }
        }
Beispiel #2
0
 private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     OnTouchesBegan(e.Position.X, e.Position.Y);
     OnSwipeBegan(e.Position.X, e.Position.Y);
 }
Beispiel #3
0
 private void Main_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     start = e.Position;
 }
 private void OnParentManipStarted(object sender, ManipulationStartedRoutedEventArgs e)
 => _result.Text += "[PARENT] Manip started\r\n";
 private void DXSwapChainPanel_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     //manipulating = true;
 }
Beispiel #6
0
 protected virtual void OnManipulationStarted(ManipulationStartedRoutedEventArgs e)
 {
 }
Beispiel #7
0
 private void UiManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _manipulationStarted = e.Cumulative.Translation;
 }
Beispiel #8
0
 void flipViewCards_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     e.Handled = true;
 }
 private void cropPoint_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
 }
Beispiel #10
0
 private void RatingView_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     this.SetValue(e.Position.X, e.Position.Y);
     this.Invalidate();
 }
Beispiel #11
0
 void Img_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     image.Opacity = 0.5;
 }
Beispiel #12
0
 private void ellipseSense_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs manipulationStartedRoutedEventArgs)
 {
     //Debug.WriteLine("Manipulation Started");
 }
Beispiel #13
0
        /// <summary>
        /// Handles the <see cref="E:RadMap.ManipulationStarted" /> event of the owning <see cref="RadMap" /> instance.
        /// </summary>
        protected internal override void OnManipulationStarted(ManipulationStartedRoutedEventArgs args)
        {
            base.OnManipulationStarted(args);

            this.scaleManipulationInProgress = false;
        }
Beispiel #14
0
 /// <summary>
 /// Starts a zoom/pan manipulation.
 /// </summary>
 private void HandleMediaManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     HandleDelta("Start", e.Cumulative, e.Position);
 }
 private void SwipeableUwpImageRenderer_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     X1 = (int)e.Position.X;
     Y1 = (int)e.Position.Y;
 }
Beispiel #16
0
 private void OnDragableGridManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     Button.IsEnabled = false;
 }
Beispiel #17
0
 /// <summary>
 /// Handles the <see cref="E:RadMap.ManipulationStarted"/> event of the owning <see cref="RadMap"/> instance.
 /// </summary>
 protected internal virtual void OnManipulationStarted(ManipulationStartedRoutedEventArgs args)
 {
 }
Beispiel #18
0
 private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _innerRotation = _viewport.Rotation;
 }
Beispiel #19
0
 private void canvas_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _viewMoved      = false;
     initialPosition = Canvas.GetLeft(LayoutRoot);
 }
 // When a manipulation begins, change the color of the object to reflect
 // that a manipulation is in progress
 void ManipulateMe_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     forceManipulationsToEnd = false;
     manipulateMe.Background = new SolidColorBrush(Windows.UI.Colors.DeepSkyBlue);
 }
Beispiel #21
0
 private void LayoutRoot_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _selecting = true;
 }
Beispiel #22
0
 void videoMediaElement_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     isFullScreenGesture = false;
     initialPoint        = e.Position;
     currentPoint        = new Point();
 }
 private void MapManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     mapCentered = false;
 }
Beispiel #24
0
 private void image_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     image.Opacity = 0.3;
 }
Beispiel #25
0
 private void RootGrid_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     e.Handled = true;
     App.MainVM.EnableItemClick = false;
 }
Beispiel #26
0
 private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _current = null;
 }
 void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _panAreaTransform  = PanArea.GetCompositeTransform();
     _paneRootTransform = PaneRoot.GetCompositeTransform();
 }
Beispiel #28
0
 void gridMain_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     startpoint    = e.Position;
     lastPostition = e.Position;
 }
Beispiel #29
0
 private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     manipulationDistance = 0.0;
     isManipulationActive = true;
 }
Beispiel #30
0
 private void Slider_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     _seeking = true;
     BackgroundMediaPlayer.Current.Pause();
 }
Beispiel #31
0
 public virtual void OnManipulationStarted( object sender, ManipulationStartedRoutedEventArgs e )
 {
     if (ManipulationStarted != null) ManipulationStarted(sender, e);
 }
Beispiel #32
0
 /// <summary>
 /// Handles the ManipulationStarted event of the Root control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="ManipulationStartedEventArgs"/>
 /// instance containing the event data.</param>
 private void Root_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e)
 {
     lastUniformScale = Math.Sqrt(2);
     lastOrigin       = null;
 }