private void _contentGrid_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { if (_header.ContentHeight > 0) { Grid.SetRow(_pullToRefreshHeader, 0); } else { Grid.SetRow(_pullToRefreshHeader, 3); } startingPullToRefresh = false; startingCrossSlideLeft = false; startingCrossSlideRight = false; manipulationOnHeaderOrFooter = false; if (_verticalScrollBar.Value == 0 && AllowPullToRefresh) { startingPullToRefresh = true; } //Cross Slide left if (_horizontalScrollBar.Value == 0) { startingCrossSlideLeft = true; } //double if (Math.Abs(_horizontalScrollBar.Value - _horizontalScrollBar.Maximum) < 0.0001) { startingCrossSlideRight = true; } }
protected override void OnManipulationStarting(ManipulationStartingRoutedEventArgs e) { base.OnManipulationStarting(e); if (Action != null) { Action.OnManipulationStarting(e); } }
private void CaptureOnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs manipulationStartingRoutedEventArgs) { var zoom = ViewModel.Zoom; if (zoom != null && zoom.Supported) { currentZoom = zoom.Value; } }
private void Grid_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { Debug.WriteLine("ManipulationStarting"); }
private void OnGridChartArea_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { GridChartArea.Opacity = .2; }
private void PivotItem_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { btnSaveSettings.Visibility = Visibility.Visible; }
void DragLetter_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { if (m_turnState != eTurnState.PlayersTurn) { e.Handled = true; } else if (ChangingALetter) { ExchangeTile(sender as TileControl); e.Handled = true; } }
/// <summary> /// ${ui_action_MapAction_event_OnManipulationStarting_D} /// </summary> public virtual void OnManipulationStarting(ManipulationStartingRoutedEventArgs e) { }
private void Element_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { int id = this.listBox.SelectedIndex; Status("Dragging element " + id); this.selectingElement = (FrameworkElement)sender; this.dummyMovingElement = DummyFactory.Create(this.selectingElement); //this.emptyPlaceholderElement = DummyFactory.CreateEmpty(this.selectingElement); /* * Create a dummy and add it to the canvas at the same position */ Point pos = GetPosition(this.selectingElement); this.MainCanvas.Children.Add(this.dummyMovingElement); Canvas.SetLeft(this.dummyMovingElement, pos.X); Canvas.SetTop(this.dummyMovingElement, pos.Y); // Set empty placeholder size this.ItemPanel.SetEmptySize(this.selectingElement.DesiredSize); // Hide the selecting item, but still receive touch this.ItemPanel.ExcludeItem(this.selectingElement); // Enable Manipulation mod in wrappanel this.ItemPanel.SetManipulation(true); }
private void theCanvas_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { //this.rect.Stroke = new SolidColorBrush(Colors.Pink); //this.rect.StrokeThickness = 15; }
private void OnFilteredOutManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { e.Handled = true; }
private void Rect3_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { tbxMessage.Text += string.Format("{0}\r\n", "Rect3_ManipulationStarting"); }
void Calendar_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { e.Container = this; e.Handled = true; }
private void overlay_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { Debug.WriteLine("overlay_ManipulationStarting: " + e.ToString()); }
private void OnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs manipulationStartingRoutedEventArgs) { Canvas.SetZIndex(this, ++Settings.ZIndex); }
private void ScrollContentPresenter_OnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { x = _scrollViewer.HorizontalOffset; y = _scrollViewer.VerticalOffset; }
private void ScrollContentPresenter_OnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { _startingOffsetX = _scrollViewer.HorizontalOffset; _startingOffsetY = _scrollViewer.VerticalOffset - ((TranslateTransform)_presenter.RenderTransform).Y; }
private void RefreshLoadPanel_ManipulationStarting(object sender, Windows.UI.Xaml.Input.ManipulationStartingRoutedEventArgs e) { Debug.WriteLine("### Starting"); }
private void OnGlassManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { _glass.Background = null; _cancelManipulation = true; }
private void Ellipse_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { var elli = (sender as Ellipse); var parent = elli.Parent as Panel; (parent.Background as SolidColorBrush).Opacity = 0.5; foreach (var child in parent.Children) { if (child != elli) { child.Opacity = 0.5; } } }
void ElementManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { e.Handled = true; }
void ElementManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { }
void ManipulateMe_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { forceManipulationsToEnd = false; e.Handled = true; }
void TouchPanel_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { if (searchCancellationToken != null) searchCancellationToken.Cancel(); HideSearch(); VisualStateManager.GoToState(this, "SearchLocationMinimize", true); if (PreviousSelectedItem == SearchLocationPoint) PreviousSelectedItem = null; }
/// <summary> /// Called before the ManipulationStarting event occurs. /// </summary> /// <param name="e">Event data for the event.</param> /// <remarks> /// This is used for touch scrolling. /// </remarks> protected override void OnManipulationStarting(ManipulationStartingRoutedEventArgs e) { base.OnManipulationStarting(e); }
private void ButtonSnap_OnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { Debug.WriteLine("ButtonSnap_OnManipulationStarting"); var button = sender as Button; if (button == null) return; var snap = button.DataContext as Snap; if (snap == null) return; _relevantSnap = snap; _isFingerDown = true; _scrollYIndex = ScrollViewer.VerticalOffset; _holdingTimer.Start(); }
private void DrawCanvas_ManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { }
private void OnManipulationStarting(object sender, ManipulationStartingRoutedEventArgs e) { this.currentOfsset = translateTransfrom.X; }