Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > Avalon

Vista - possible to get 'back' navigation event in a page?

 
 
Old 08-17-2006   #1 (permalink)
Sam Jost


 
 

possible to get 'back' navigation event in a page?

I've got a browser-like xaml app, and I'd like to get an event if you
press 'back' on the navigation in some windows to produce a 'you did
not save your data - save it now?' warning.

I found no virtual function to override in a page - is there an easy
way to get notified when a navigation event like 'back' occurs?

Thanks,
Sam


My System SpecsSystem Spec
Old 08-18-2006   #2 (permalink)
boyan


 
 

Re: possible to get 'back' navigation event in a page?

Hello Sam,

please take a look at the documentation of the "hands on lab" that you
can download here:

http://wpf.netfx3.com/files/folders/1932/download.aspx

Part of it is a description about a wizard dialog which uses the
navigation class and page functions to navigate through the pages of
the wizard. Maybe this will help.

Boyan

My System SpecsSystem Spec
Old 08-21-2006   #3 (permalink)
Sam Jost


 
 

Re: possible to get 'back' navigation event in a page?

Hello Boyan,

nice 'hands on lab', but I can't find no way to intercept the
navigation buttons in this example - this example has no need to cancel
'back'.

thanks for the try, though!
Sam

boyan schrieb:

> Hello Sam,
>
> please take a look at the documentation of the "hands on lab" that you
> can download here:
>
> http://wpf.netfx3.com/files/folders/1932/download.aspx
>
> Part of it is a description about a wizard dialog which uses the
> navigation class and page functions to navigate through the pages of
> the wizard. Maybe this will help.
>
> Boyan


My System SpecsSystem Spec
 

Thread Tools


Similar Threads
Thread Forum
Page goes back Vista General
Navigation panel has disappeared - How do I get it back? Vista mail
Navigation Panel Empty and Will not come back Vista file management
Navigation Panel Empty and Will not come back Vista General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46