本文整理汇总了C#中NavigationHelper类的典型用法代码示例。如果您正苦于以下问题:C# NavigationHelper类的具体用法?C# NavigationHelper怎么用?C# NavigationHelper使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
NavigationHelper类属于命名空间,在下文中一共展示了NavigationHelper类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: PerformanceView
public PerformanceView()
{
InitializeComponent();
_navigationHelper = new NavigationHelper(this);
IterationsTb.Text = "100000";
}
示例2: BeveragesDetail
public BeveragesDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
BeveragesModel = new BeveragesViewModel();
}
示例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;
}
示例4: InstaPhotosDetail
public InstaPhotosDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
InstaPhotosModel = new InstaPhotosViewModel();
}
示例5: FeedPage
public FeedPage() {
InitializeComponent();
_navigationHelper = new NavigationHelper(this);
_navigationHelper.LoadState += navigationHelper_LoadState;
_navigationHelper.SaveState += navigationHelper_SaveState;
_categories = new HashSet<CardCategory>();
}
示例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;
}
示例7: Main1Detail
public Main1Detail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
Main1Model = new Main1ViewModel();
}
示例8: DessertsDetail
public DessertsDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
DessertsModel = new DessertsViewModel();
}
示例9: FBHeyIsItOnDetail
public FBHeyIsItOnDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
SizeChanged += OnSizeChanged;
}
示例10: HeyIsItOnBlogList
public HeyIsItOnBlogList()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
SizeChanged += OnSizeChanged;
}
示例11: DetailsView
public DetailsView()
{
this.InitializeComponent();
this.navigationHelper = new NavigationHelper(this);
this.navigationHelper.LoadState += navigationHelper_LoadState;
this.navigationHelper.SaveState += navigationHelper_SaveState;
}
示例12: InstagramDetail
public InstagramDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
InstagramModel = new InstagramViewModel();
}
示例13: AthleteTipsList
public AthleteTipsList()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
SizeChanged += OnSizeChanged;
}
示例14: MicBergsmaDetail
public MicBergsmaDetail()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
SizeChanged += OnSizeChanged;
}
示例15: GoProVODList
public GoProVODList()
{
this.InitializeComponent();
_navigationHelper = new NavigationHelper(this);
SizeChanged += OnSizeChanged;
}