當前位置: 首頁>>代碼示例>>C#>>正文


C# Input.ManipulationStartedEventArgs類代碼示例

本文整理匯總了C#中System.Windows.Input.ManipulationStartedEventArgs的典型用法代碼示例。如果您正苦於以下問題:C# ManipulationStartedEventArgs類的具體用法?C# ManipulationStartedEventArgs怎麽用?C# ManipulationStartedEventArgs使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。


ManipulationStartedEventArgs類屬於System.Windows.Input命名空間,在下文中一共展示了ManipulationStartedEventArgs類的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的C#代碼示例。

示例1: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            txtblk.Foreground = originalBrush;

            args.Complete();
            base.OnManipulationStarted(args);
        }
開發者ID:uhealin,項目名稱:asskicker,代碼行數:7,代碼來源:MainPage.xaml.cs

示例2: OnT6ManipulationStarted

        void OnT6ManipulationStarted(object sender, ManipulationStartedEventArgs args)
        {
            this.NavigationService.Navigate(new Uri("/T6.xaml", UriKind.Relative));

            args.Complete();
            args.Handled = true;
        }
開發者ID:aameijide,項目名稱:wp7-Tramcelona,代碼行數:7,代碼來源:MainPage.xaml.cs

示例3: CalendarButton_ManipulationStarted

        private void CalendarButton_ManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            SolidColorBrush brush = new SolidColorBrush();
            brush.Color = (Color) App.Current.Resources["CalendarBackDarkGray"];

            CalendarButton.Background = brush;
        }
開發者ID:richardaum,項目名稱:Metroist-for-Windows-Phone,代碼行數:7,代碼來源:AddTask.xaml.cs

示例4: gotoEditProfile

		void gotoEditProfile(object sender, ManipulationStartedEventArgs		args)
		{
		this.NavigationService.Navigate(new Uri("/EditProfile.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
		}
開發者ID:BarkaBoss,項目名稱:MedicNaijaWP7,代碼行數:7,代碼來源:Profile.xaml.cs

示例5: ExecuteCommand

        private void ExecuteCommand(object sender, ManipulationStartedEventArgs e)
        {
            ICommand cmd = (ICommand)((Image)sender).Tag;

            if (cmd != null)
                cmd.Execute(null);
        }
開發者ID:ttu,項目名稱:Match-Rate,代碼行數:7,代碼來源:FightControl.xaml.cs

示例6: logout

		void logout(object sender, ManipulationStartedEventArgs		args)
		{
		this.NavigationService.Navigate(new Uri("/HealthTips.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
		}
開發者ID:BarkaBoss,項目名稱:MedicNaijaWP7,代碼行數:7,代碼來源:DashBoard.xaml.cs

示例7: OnTextBlockManipulationStarted

        void OnTextBlockManipulationStarted(object sender, ManipulationStartedEventArgs args)
        {
            this.NavigationService.GoBack();

            args.Complete();
            args.Handled = true;
        }
開發者ID:uhealin,項目名稱:asskicker,代碼行數:7,代碼來源:SecondPage.xaml.cs

示例8: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            GetRandomPicture();

            args.Complete();
            base.OnManipulationStarted(args);
        }
開發者ID:uhealin,項目名稱:asskicker,代碼行數:7,代碼來源:MainPage.xaml.cs

示例9: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            camera.Show();

            args.Complete();
            args.Handled = true;
            base.OnManipulationStarted(args);
        }
開發者ID:uhealin,項目名稱:asskicker,代碼行數:8,代碼來源:MainPage.xaml.cs

示例10: OnManipulationStarted

 protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
 {
     if (!DemoAutoSlide)
     {
         PumpDemoFrames(null, null);
     }
     base.OnManipulationStarted(args);
 }
開發者ID:kfirt,項目名稱:BlindPhone,代碼行數:8,代碼來源:MainPage.xaml.cs

示例11: logout

		void logout(object sender, ManipulationStartedEventArgs		args)
		{
        MessageBox.Show("Stay frosty");
		this.NavigationService.Navigate(new Uri("/MainPage.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
		}
開發者ID:BarkaBoss,項目名稱:MedicNaijaWP7,代碼行數:8,代碼來源:DashBoard.xaml.cs

示例12: viewProfile

		void viewProfile(object sender, ManipulationStartedEventArgs	args)
		{
		this.NavigationService.Navigate(new Uri("/Profile.xaml",
		UriKind.Relative));
		args.Complete();
		args.Handled = true;
        MessageBox.Show("this ill wrk");
		}
開發者ID:BarkaBoss,項目名稱:MedicNaijaWP7,代碼行數:8,代碼來源:DashBoard.xaml.cs

示例13: OnManipulationStarted

 protected override void OnManipulationStarted(ManipulationStartedEventArgs e) {
     if (e.OriginalSource is Image && isGameing) {
         Image img = e.OriginalSource as Image;
         this.MoveTileAndCheckGameOver(img);
         e.Complete();
         e.Handled = true;
     }
     base.OnManipulationStarted(e);
 }
開發者ID:lintghi,項目名稱:puzzle,代碼行數:9,代碼來源:TilePage.xaml.cs

示例14: imgWarning_ManipulationStarted

        private void imgWarning_ManipulationStarted(
            object sender, ManipulationStartedEventArgs e)
        {
            e.Complete();
            e.Handled = true;

            MessageBox.Show(Properties.Resources.WarningStorePassword,
                (string)chkStore.Content, MessageBoxButton.OK);
        }
開發者ID:MarioBinder,項目名稱:7Pass,代碼行數:9,代碼來源:Password.xaml.cs

示例15: OnManipulationStarted

        protected override void OnManipulationStarted(ManipulationStartedEventArgs args)
        {
            ContentPanel.Background = new SolidColorBrush(
                Color.FromArgb(255, (byte)rand.Next(255),
                                    (byte)rand.Next(255),
                                    (byte)rand.Next(255)));

            base.OnManipulationStarted(args);
        }
開發者ID:uhealin,項目名稱:asskicker,代碼行數:9,代碼來源:SecondPage.xaml.cs


注:本文中的System.Windows.Input.ManipulationStartedEventArgs類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。