• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Input.DoubleTappedRoutedEventArgs类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs的典型用法代码示例。如果您正苦于以下问题:C# DoubleTappedRoutedEventArgs类的具体用法?C# DoubleTappedRoutedEventArgs怎么用?C# DoubleTappedRoutedEventArgs使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



DoubleTappedRoutedEventArgs类属于Windows.UI.Xaml.Input命名空间,在下文中一共展示了DoubleTappedRoutedEventArgs类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: Ellipse_DoubleTapped

 private void Ellipse_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     var ellipse = (sender as Ellipse);
     ellipse.Width *= 2;
     ellipse.Height *= 2;
     e.Handled = true;
 }
开发者ID:luiseduardohdbackup,项目名称:Windows-Universal,代码行数:7,代码来源:MainPage.xaml.cs


示例2: Image_DoubleTapped

 private void Image_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     if (swaghat.Visibility.Equals(Windows.UI.Xaml.Visibility.Collapsed))
     {
         swaghat.Visibility = Windows.UI.Xaml.Visibility.Visible;
     }
 }
开发者ID:D-Pham,项目名称:TutorMatch,代码行数:7,代码来源:MainPage.xaml.cs


示例3: lbHand_DoubleTapped

 private void lbHand_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     if (lbHand.SelectedIndex >= 0)
     {
         game.PlayOneRound(lbHand.SelectedIndex);
     }
 }
开发者ID:ppaier,项目名称:HFCSharp,代码行数:7,代码来源:MainPage.xaml.cs


示例4: PrevTrackImageDoubleTapped

 private void PrevTrackImageDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     if (LibraryViewModel.Current.PlayQueue.PrevPlayer.CanExecute(null))
     {
         LibraryViewModel.Current.PlayQueue.PrevPlayer.Execute(null);
     }
 }
开发者ID:Davidblkx,项目名称:musicmink,代码行数:7,代码来源:NowPlaying.xaml.cs


示例5: Grid_DoubleTapped

 private async void Grid_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     await CoreApplication.MainView.CoreWindow.Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.High, () =>
     {
         this.Frame.Navigate(typeof(MainPage), null);
     });
 }
开发者ID:BilelAvans,项目名称:BallDrive,代码行数:7,代码来源:HighScoreView.xaml.cs


示例6: Grid_DoubleTapped

        private async void Grid_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            Grid grid = (Grid)sender;
            Records.Items items = (Records.Items)grid.DataContext;
            String Data = String.Empty;
            ResourceLoader resourceLoader = new ResourceLoader();

            Data += String.Format(resourceLoader.GetString("pageResult_Assignment") + Environment.NewLine, items.Oid);
            Data += String.Format(resourceLoader.GetString("pageResult_Registry") + Environment.NewLine, items.RegistryID);
            Data += String.Format(resourceLoader.GetString("pageResult_OrganizationName") + Environment.NewLine, items.Name);
            Data += String.Format(resourceLoader.GetString("pageResult_OrganizationAddress") + Environment.NewLine, items.Address);

            if ( (items.Protocol != String.Empty) && (items.Protocol != null))
            {
                Data += String.Format(resourceLoader.GetString("pageResult_Protocol") + Environment.NewLine, items.Protocol);
            }

            DataPackage dataPackage = new DataPackage();

            dataPackage.SetText(Data);
            Clipboard.SetContent(dataPackage);

            MessageDialog msgbox = new MessageDialog(Data, resourceLoader.GetString("pageResult_DialogCopied"));

            msgbox.Commands.Clear();
            msgbox.Commands.Add(new UICommand { Label = resourceLoader.GetString("pageResult_DialogClose"), Id = 0 });
 
            var res = await msgbox.ShowAsync();
        }
开发者ID:EddyBeaupre,项目名称:searchIEEE,代码行数:29,代码来源:pageResults.xaml.cs


示例7: Scene_DoubleTapped

 private void Scene_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     FrameworkElement sceneControl = sender as FrameworkElement;
     FlyoutBase flyoutBase = Flyout.GetAttachedFlyout(sceneControl);
     flyoutBase.Placement = FlyoutPlacementMode.Top;
     flyoutBase.ShowAt(sceneControl);
 }
开发者ID:kasparov,项目名称:StoryTeller,代码行数:7,代码来源:SingleStoryLineRendererControl.xaml.cs


示例8: image_DoubleTapped

        private void image_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            //Get the precise pointer position at the time of doubletap in order to center the view at that location
            p = e.GetPosition(sender as Image);
            //set the internal flag to track the doubletapped gesture
            isDoubleTapped = true;

        }
开发者ID:mbin,项目名称:Win81App,代码行数:8,代码来源:Scenario1.xaml.cs


示例9: OnDoubleTapped

        private async void OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            if (GameClient == null)
                return;

            var position = e.GetPosition(canvas);
            await PerformBasicTouchNavigation(canvas, position.ToVector2());
        }
开发者ID:SvenEV,项目名称:OrangeBugReloaded,代码行数:8,代码来源:OrangeBugPresenter.xaml.cs


示例10: UIElement_OnDoubleTapped

 private void UIElement_OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     var viewModel = this.DataContext as SignUpViewModel;
     if (viewModel != null && viewModel.DeleteUserImageCommand.CanExecute(null))
     {
         viewModel.DeleteUserImageCommand.Execute(null);
     }
 }
开发者ID:QuickBlox,项目名称:q-municate-dotnet,代码行数:8,代码来源:SignUpPage.xaml.cs


示例11: OnlineBuddyDoubleTapped

        private void OnlineBuddyDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            var textBlock = sender as TextBlock;

            var friend = textBlock.DataContext as Friend;
            var roomManager = RoomManager.GetInstance();

            roomManager.JoinRoom(friend);
        }
开发者ID:jonathanyeung,项目名称:ozwego,代码行数:9,代码来源:FriendsList.xaml.cs


示例12: OnGridDoubleTapped

        private void OnGridDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            if (e.OriginalSource != null && e.OriginalSource is Windows.UI.Xaml.FrameworkElement
                && (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext != null
                && (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext is ExtremumReportItemWrap)
            {
                ExtremumReportItemWrap wrap = (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext as ExtremumReportItemWrap;

                this.Frame.Navigate(typeof(FlightAnalysis), wrap);
            }
        }
开发者ID:K-Library-NET,项目名称:PopcornStudios,代码行数:11,代码来源:ExtremumReport.xaml.cs


示例13: UIElement_OnDoubleTapped

 private void UIElement_OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     if (topbar.Opacity == 0)
     {
         ShowStoryboard.Begin();
     }
     else
     {
         HideStoryboard.Begin();
     }
 }
开发者ID:V3ronique,项目名称:PersonalAccounterApp,代码行数:11,代码来源:ExpensePage.xaml.cs


示例14: ListBoxHistory_DoubleTapped

        private void ListBoxHistory_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {

            if (ListBoxHistory.SelectedIndex==-1)
            {
                this.Frame.Navigate(typeof(MainPage));
            }
            else
            {
                this.Frame.Navigate(typeof(MainPage), ListBoxHistory.SelectedItem.ToString());
            }
        }
开发者ID:KECProjectGroupURMS,项目名称:SurferLiteDev,代码行数:12,代码来源:PageBookmarks.xaml.cs


示例15: ListView_DoubleTapped

        private void ListView_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            var listView = sender as ListView;

            var episode = listView.SelectedItem as EpisodeViewModel;

            if (ViewModel.PlayEpisode.CanExecute(episode))
            {
                ViewModel.PlayEpisode.Execute(episode);
            }

            e.Handled = true;
        }
开发者ID:AndrewGaspar,项目名称:Podcasts,代码行数:13,代码来源:PodcastPage.xaml.cs


示例16: UIElement_OnDoubleTapped

        private async void UIElement_OnDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            var ps = new ParsePostsService();

            //  var res = await ps.DeleteImageByPostAndInageId(null, "8FOqVSNnat");

            (Window.Current.Content as AppShell)
            .AppFrame
            .Navigate(
                typeof(ImageFullScreenView),
                this.DataContext,
                new Windows.UI.Xaml.Media.Animation.DrillInNavigationTransitionInfo());
        }
开发者ID:cheahengsoon,项目名称:The-Asocial-Network,代码行数:13,代码来源:ImageControl.xaml.cs


示例17: mediaElement_DoubleTapped

        private void mediaElement_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {

            if (mediaElement.IsFullWindow)
            {
                mediaElement.IsFullWindow = false;
            }
            else
            {
                mediaElement.IsFullWindow = true;
            }

        }
开发者ID:zirakai,项目名称:NyxoWp,代码行数:13,代码来源:VideoPlayer.xaml.cs


示例18: lista_DoubleTapped

        private void lista_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            string SelectedContactId = "0";
            string callnome;
            if (lista.SelectedIndex != -1)
            {
                Contactos listitem = lista.SelectedItem as Contactos;
                SelectedContactId = Convert.ToString(listitem.C_telemovel);
                callnome = listitem.C_nome;
                //PhoneCallManager.ShowPhoneCallUI("+351" + SelectedContactId, callnome);


            }
        }
开发者ID:Philipedeveloper,项目名称:Xcontact,代码行数:14,代码来源:MainPage.xaml.cs


示例19: OnGridDoubleTapped

        private void OnGridDoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
        {
            if (e.OriginalSource != null && e.OriginalSource is Windows.UI.Xaml.FrameworkElement
                && (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext != null
                && (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext is ExtremumReportItemWrap)
            {
                ExtremumReportItemWrap wrap = (e.OriginalSource as Windows.UI.Xaml.FrameworkElement).DataContext as ExtremumReportItemWrap;
                //AircraftDataAnalysisWinRT.Domain.FASubNavigateParameter param =
                //    this.GenerateParam(wrap);

                AircraftDataAnalysisWinRT.MyControl.SubEditChartNavigationParameter parameter
                    = new AircraftDataAnalysisWinRT.MyControl.ExtremumReportSubEditChartNavigationParameter()
                    {
                        HostParameterID = wrap.ParameterID,
                        HostParameterYAxis = FlightAnalysisSubViewYAxis.LeftYAxis,
                        MinValueSecond = wrap.MinValueSecond,
                        MaxValueSecond = wrap.MaxValueSecond,
                    };

                this.Frame.Navigate(typeof(AircraftDataAnalysisWinRT.Domain.FlightAnalysisSubLite),
                    //typeof(AircraftDataAnalysisWinRT.Domain.FlightAnalysisSub), 
                    parameter);
            }
        }
开发者ID:K-Library-NET,项目名称:PopcornStudios,代码行数:24,代码来源:ExtremumReport.xaml.cs


示例20: GrdPayU_DoubleTapped

 private void GrdPayU_DoubleTapped(object sender, DoubleTappedRoutedEventArgs e)
 {
     Post();
     PageNavigationMode.Mode = PageTransmission.Left;
     this.Frame.Navigate(typeof(PayUGateway));
 }
开发者ID:webashlar1234,项目名称:BusindiaCode,代码行数:6,代码来源:PaymentOptionsPage.xaml.cs



注:本文中的Windows.UI.Xaml.Input.DoubleTappedRoutedEventArgs类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Input.HoldingRoutedEventArgs类代码示例发布时间:2022-05-26
下一篇:
C# Documents.Run类代码示例发布时间:2022-05-26
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap