コード例 #1
0
        protected override void OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs e)
        {
            e.ManipulationContainer = this;
            e.Handled = true;

            this.SetSelected(true);
            //base.OnManipulationStarting(e);
        }
コード例 #2
0
    protected override void OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs e)
    {
        base.OnManipulationStarting(e);
        UIElement involvedUIElement = e.Source as UIElement;

        // to cancel the touch manipulaiton:
        e.Cancel();
    }
コード例 #3
0
 protected override void OnManipulationStarting(System.Windows.Input.ManipulationStartingEventArgs e)
 {
 }
コード例 #4
0
 private void ManipulationStartingHandler(object sender, System.Windows.Input.ManipulationStartingEventArgs e)
 {
     e.ManipulationContainer = ((FrameworkElement)e.Source).Parent as FrameworkElement; //e.ManipulationContainer = _container;
 }
コード例 #5
0
ファイル: MainWindow.xaml.cs プロジェクト: secretmadonna/NEMS
 private void Window_ManipulationStarting(object sender, System.Windows.Input.ManipulationStartingEventArgs e)
 {
     logger.InfoFormat("{0:D3}.{1}", ++numberIndex, MethodBase.GetCurrentMethod().Name);
 }