Advertisement
Guest User

BubblingTest

a guest
Feb 10th, 2014
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 1.20 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Net;
  5. using System.Windows;
  6. using System.Windows.Controls;
  7. using System.Windows.Navigation;
  8. using Microsoft.Phone.Controls;
  9. using Microsoft.Phone.Shell;
  10. using BubblingTest.Resources;
  11.  
  12. namespace BubblingTest
  13. {
  14.     public partial class MainPage : PhoneApplicationPage
  15.     {
  16.         // Constructor
  17.         public MainPage()
  18.         {
  19.             InitializeComponent();
  20.  
  21.             TestGrid.ManipulationStarted+=TestGrid_ManipulationStarted;
  22.             TestGrid.ManipulationDelta += TestGrid_ManipulationDelta;
  23.             TestGrid.ManipulationCompleted += TestGrid_ManipulationCompleted;
  24.         }
  25.  
  26.         void TestGrid_ManipulationCompleted(object sender, System.Windows.Input.ManipulationCompletedEventArgs e)
  27.         {
  28.             e.Handled = true;
  29.         }
  30.  
  31.         void TestGrid_ManipulationDelta(object sender, System.Windows.Input.ManipulationDeltaEventArgs e)
  32.         {
  33.             e.Handled = true;
  34.         }
  35.  
  36.         private void TestGrid_ManipulationStarted(object sender, System.Windows.Input.ManipulationStartedEventArgs e)
  37.         {
  38.             e.Handled = true;
  39.         }
  40.  
  41.  
  42.  
  43.    
  44.     }
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement