当前位置: 首页>>代码示例>>C#>>正文


C# NavigationHelper类代码示例

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


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

示例1: PerformanceView

        public PerformanceView()
        {
            InitializeComponent();

            _navigationHelper = new NavigationHelper(this);
            IterationsTb.Text = "100000";
        }
开发者ID:xRoulanDx,项目名称:MugenMvvmToolkit.Samples,代码行数:7,代码来源:PerformanceView.xaml.cs

示例2: BeveragesDetail

        public BeveragesDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            BeveragesModel = new BeveragesViewModel();
        }
开发者ID:compkos,项目名称:Menu,代码行数:7,代码来源:BeveragesDetailPage.xaml.cs

示例3: CommentsPage

 /// <summary>
 /// Konstruktor widoku.
 /// </summary>
 public CommentsPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
开发者ID:pkozak2,项目名称:CeneoETL-Projekt,代码行数:10,代码来源:CommentsPage.xaml.cs

示例4: InstaPhotosDetail

        public InstaPhotosDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            InstaPhotosModel = new InstaPhotosViewModel();
        }
开发者ID:ProjectsInChasz,项目名称:DjangoDjangoFunApp,代码行数:7,代码来源:InstaPhotosDetailPage.xaml.cs

示例5: FeedPage

 public FeedPage() {
   InitializeComponent();
   _navigationHelper = new NavigationHelper(this);
   _navigationHelper.LoadState += navigationHelper_LoadState;
   _navigationHelper.SaveState += navigationHelper_SaveState;
   _categories = new HashSet<CardCategory>();
 }
开发者ID:azrawasia,项目名称:appboy-windows-samples,代码行数:7,代码来源:FeedPage.xaml.cs

示例6: ReadFB2Page

        public ReadFB2Page()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);

            BackGroundGrid.Background = new SolidColorBrush(ProgramState.CurrentState.TextStyle.SimpleTextStyle.BackgroundColor);

            if (NavigationCache.Book != null)
            {
                text.Clear();

                text.AddRange(NavigationCache.Book.Text);

                                  
                currentBookInHistory = (Book)ProgramState.CurrentState.History.Files.Find(x => x.Type == FileType.Book && ((Book)x.DocumentFile).Title == NavigationCache.Book.Title).DocumentFile;

                if (NavigationCache.Book.NavigationHistory == null || NavigationCache.Book.NavigationHistory.Count == 0)
                {
                    NavigationCache.Book.NavigationHistory = new List<TextPosition>();//new Stack<TextPosition>();
                    navigationHistory.Push(TextPosition.StartPosition);
                }
                else
                { 
                    navigationHistory = new Stack<TextPosition>(NavigationCache.Book.NavigationHistory); 
                }
            }
            bookTitle.Text = NavigationCache.Book.Title;
            
        }
开发者ID:BigDaddy1337,项目名称:DocsReader,代码行数:29,代码来源:ReadFB2Page.xaml.cs

示例7: Main1Detail

        public Main1Detail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            Main1Model = new Main1ViewModel();
        }
开发者ID:compkos,项目名称:Menu,代码行数:7,代码来源:Main1DetailPage.xaml.cs

示例8: DessertsDetail

        public DessertsDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            DessertsModel = new DessertsViewModel();
        }
开发者ID:compkos,项目名称:Menu,代码行数:7,代码来源:DessertsDetailPage.xaml.cs

示例9: FBHeyIsItOnDetail

        public FBHeyIsItOnDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            SizeChanged += OnSizeChanged;
        }
开发者ID:KonradIT,项目名称:HeyIsItOn,代码行数:7,代码来源:FBHeyIsItOnDetailPage.xaml.cs

示例10: HeyIsItOnBlogList

        public HeyIsItOnBlogList()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            SizeChanged += OnSizeChanged;
        }
开发者ID:KonradIT,项目名称:HeyIsItOn,代码行数:7,代码来源:HeyIsItOnBlogList.xaml.cs

示例11: DetailsView

 public DetailsView()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
开发者ID:HoussemEddineAbbes,项目名称:MedicalSearch,代码行数:7,代码来源:DetailsView.xaml.cs

示例12: InstagramDetail

        public InstagramDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            InstagramModel = new InstagramViewModel();
        }
开发者ID:Hackaju,项目名称:App_Hackaju_WP,代码行数:7,代码来源:InstagramDetailPage.xaml.cs

示例13: AthleteTipsList

        public AthleteTipsList()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            SizeChanged += OnSizeChanged;
        }
开发者ID:KonradIT,项目名称:BePro,代码行数:7,代码来源:AthleteTipsList.xaml.cs

示例14: MicBergsmaDetail

        public MicBergsmaDetail()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            SizeChanged += OnSizeChanged;
        }
开发者ID:KonradIT,项目名称:BePro,代码行数:7,代码来源:MicBergsmaDetailPage.xaml.cs

示例15: GoProVODList

        public GoProVODList()
        {
            this.InitializeComponent();
            _navigationHelper = new NavigationHelper(this);

            SizeChanged += OnSizeChanged;
        }
开发者ID:jookie,项目名称:Gaj2,代码行数:7,代码来源:GoProVODList.xaml.cs


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