简体   繁体   English

C#WPF导航页面行为问题

[英]C# wpf navigation pages behaviour issue

Recently picked up WPF about a month ago , decided to design a small WPF navigation application. 最近大约一个月前开始使用WPF,决定设计一个小型WPF导航应用程序。 my design requires a _mainwindow with multiple tile buttons , and click event show a new page, page 1 or 2 which have different content and a back button that takes screen back to the _mainwindow . 我的设计需要一个具有多个平铺按钮的_mainwindow,并且单击事件以显示一个新的页面,第1或2页具有不同的内容,以及一个使屏幕返回_mainwindow的后退按钮。 I have total 5 pages in the application . 我的申请书共有5页。 The problem i am facing is , if i uses NavigationService i have to use pages only and its giving a default navigation bar that i do not require , secondly my design requires pages to be isolated rather to navigate 1 page to an other with navigation bar . 我面临的问题是,如果我使用NavigationService,则我只能使用页面,并且它提供了我不需要的默认导航栏,其次,我的设计需要隔离页面,而不是使用导航栏将一页导航到另一页面。

So my question is how can i be able to implement this design with my limited knowledge of WPF or should i have to change the design . 所以我的问题是,在我对WPF的了解有限的情况下,我如何能够实现此设计,还是应该更改设计?

Do you mean the arrows. 你是说箭吗? You can hide them 你可以藏起来

<Page x:Class="Gabe2a.PageDocFieldDetail"
      ShowsNavigationUI="False"/>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM