Questions tagged [navigationwindow]

26 questions
6
votes
4 answers

Using a Button to navigate to another Page in a NavigationWindow

I'm trying to use the navigation command framework in WPF to navigate between Pages within a WPF application (desktop; not XBAP or Silverlight). I believe I have everything configured correctly, yet its not working. I build and run without errors,…
user1228
6
votes
6 answers

Get Current running page in WPF navigation NavigationWindow

I m new in WPF, i am developing a navigation application of WPF,
Viral Sarvaiya
  • 781
  • 2
  • 9
  • 29
3
votes
1 answer

Layout navigation window

I would like to build a WPF window application using the following layout structure. Consider title and button on left hand frame/window like "Master Pages" in ASP.Net. On the right hand frame it should be a WPF navigation window. When I include…
Bih Cheng
  • 655
  • 1
  • 13
  • 28
2
votes
2 answers

Can the F5 key be disabled in a navigation window in WPF?

I have a small application that uses a navigation window and a set of pages. My application is not a browser per se and thus I dont want the user to be able to refresh the page by pressing F5. Is there a way to disable this key in my application?…
Edgar
  • 39
  • 2
  • 7
2
votes
3 answers

NavigationWindow - Where is it?

My WPF application is becoming a real pain. I have created a Window and would like to load another page when I click on a button. I assumed this would be straightforward, but it doesn't seem to be. I manage to load the other page by using…
Skoder
  • 3,983
  • 11
  • 46
  • 73
1
vote
1 answer

The type 'NavigationWindow' does not support direct content

I am trying to use NavigationWindow class instead of Window to allow navigation between windows in WPF application. But when adding content to the NavigationWindow in XAML, I am getting an error: "The type 'NavigationWindow' does not support direct…
Peter17
  • 3,052
  • 9
  • 47
  • 77
1
vote
2 answers

How to cancel WPF app closing from Page?

I'm using a WPF NavigationWindow and some Pages and would like to be able to know when the application is closing from a Page. How can this be done without actively notifying the page from the NavigationWindow_Closing event handler? I'm aware of the…
Marc
  • 9,012
  • 13
  • 57
  • 72
1
vote
1 answer

Is it possible to have an animation appear on WPF NavigationWindow?

I have a NavigationWindow which hosts a series of Pages. For design reasons the Pages are fixed at 780x580 but the NavigationWindow can be set to maximize, leaving a lot of black background around my Pages. I would like to show a fairly simple,…
Sailing Judo
  • 11,083
  • 20
  • 66
  • 97
1
vote
2 answers

Add PRISM Region Manager In Existing Navigation Window

We have a "legacy" WPF applicaton that is based on a NavigationWindow. The NavigationWindow has a fairly large ControlTemplate that houses a ContentPresenter as so: ....snip...
Nate Noonen
  • 1,371
  • 9
  • 19
1
vote
1 answer

pop up numeric keypad in NavigationWindow WPF

I need to get numeric input from user in a WPF application runs on a touch screen device. The idea is to have a numeric keypad pops up when the TextBox is focused. I am using NavigationWindow, and actually have already built a numeric keypad as a…
totoro
  • 3,257
  • 5
  • 39
  • 61
1
vote
1 answer

NavigationWindow history is not saving states properly

I have a NavigationWindow (window1) and a custom navigationstate. What I currently am using to do my navigation is as such: a function (navigate(string,bool) ) which takes the location (a URL) that I want to go to, plus a boolean which defines if I…
1
vote
1 answer

WPF How to disable NavigationWindow commands

I use pages and NavigationWindow: navigationWindow = new NavigationWindow(); navigationWindow.Height = 200; navigationWindow.Width = 100; navigationWindow.WindowState = WindowState.Maximized; page =…
petros
  • 705
  • 1
  • 8
  • 26
1
vote
1 answer

Set button controls as minimize/maximize/close buttons in NavigationWindow application?

I am newbie in WPF and C#, but I started to develope a WPF NavigationWindow application. I want it to be chromeless window with custom maximize/minimize controls. But when I set events for my buttons, they don't affect the window. Here's my…
crazyname
  • 135
  • 1
  • 15
1
vote
2 answers

detect navigationwindow go back event

how to determine when navigationwindow back button is pressed and trap that event to something extra. I am thinking of managing the page state.
TrustyCoder
  • 4,749
  • 10
  • 66
  • 119
0
votes
1 answer

How do I use the NavigationWindow.Navigate method?

I have a NavigationWindow and a folder called Views. In that folder is a user control called Home. How do I navigate to that page?
Jonathan Allen
  • 68,373
  • 70
  • 259
  • 447
1
2