/// <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)); } }
private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { OnTouchesBegan(e.Position.X, e.Position.Y); OnSwipeBegan(e.Position.X, e.Position.Y); }
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; }
protected virtual void OnManipulationStarted(ManipulationStartedRoutedEventArgs e) { }
private void UiManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _manipulationStarted = e.Cumulative.Translation; }
void flipViewCards_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { e.Handled = true; }
private void cropPoint_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { }
private void RatingView_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { this.SetValue(e.Position.X, e.Position.Y); this.Invalidate(); }
void Img_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { image.Opacity = 0.5; }
private void ellipseSense_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs manipulationStartedRoutedEventArgs) { //Debug.WriteLine("Manipulation Started"); }
/// <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; }
/// <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; }
private void OnDragableGridManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { Button.IsEnabled = false; }
/// <summary> /// Handles the <see cref="E:RadMap.ManipulationStarted"/> event of the owning <see cref="RadMap"/> instance. /// </summary> protected internal virtual void OnManipulationStarted(ManipulationStartedRoutedEventArgs args) { }
private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _innerRotation = _viewport.Rotation; }
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); }
private void LayoutRoot_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _selecting = true; }
void videoMediaElement_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { isFullScreenGesture = false; initialPoint = e.Position; currentPoint = new Point(); }
private void MapManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { mapCentered = false; }
private void image_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { image.Opacity = 0.3; }
private void RootGrid_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { e.Handled = true; App.MainVM.EnableItemClick = false; }
private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _current = null; }
void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _panAreaTransform = PanArea.GetCompositeTransform(); _paneRootTransform = PaneRoot.GetCompositeTransform(); }
void gridMain_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { startpoint = e.Position; lastPostition = e.Position; }
private void OnManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { manipulationDistance = 0.0; isManipulationActive = true; }
private void Slider_ManipulationStarted(object sender, ManipulationStartedRoutedEventArgs e) { _seeking = true; BackgroundMediaPlayer.Current.Pause(); }
public virtual void OnManipulationStarted( object sender, ManipulationStartedRoutedEventArgs e ) { if (ManipulationStarted != null) ManipulationStarted(sender, e); }
/// <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; }