Questions tagged [pagefunction]

10 questions
4
votes
3 answers

WPF - PageFunctions. Why are they needed?

I've been dabbling in WPF for a couple of months now and I've managed to grasp most of what's about and why/when it's used but I'm still struggling to see the value of the PageFunction class. Can someone give me a simple, but concrete example of…
EightyOne Unite
  • 11,665
  • 14
  • 79
  • 105
2
votes
2 answers

How to Open modal window/dialog in XBAP Application?

In WPF, if i want to open a modal/response window then i write code like Window1 _windowObj1 = new Window1(); _windowObj1.Owner = mainWindowObject; _window1Obj.ShowDialog(); How to do the same in XBAP. I tried it, but the window is opened…
ksvimal
  • 287
  • 2
  • 11
  • 25
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
1 answer

Setting Command Bindings via XAML on PageFunction forms

If you are creating a WPF window or a WPF page, you can bind commands to functions within the XAML.
Andrew Shepherd
  • 44,254
  • 30
  • 139
  • 205
1
vote
1 answer

PageFunction OnReturn and the Default PageFunction Constructor

I'm trying to create a Wizard at runtime in VB.NET using the WPF NavigationService and I'm having some problems. I need to add controls to the PageFunction pages at runtime which seems to involve passing arguments to the PageFunction pages when I…
zzMzz
  • 467
  • 1
  • 5
  • 21
1
vote
1 answer

WPF: Why doesn't PageFunction return to calling Window?

In a WPF Project I am navigating to a PageFunction from a Window using a Frame that is the content of the Window. The trouble is the PageFunction doesn't return back to the calling Window. In fact, calling OnReturn(...) in the PageFunction throws an…
Cleve
  • 1,273
  • 1
  • 13
  • 26
1
vote
1 answer

UI and variable accesibility confusion

I am building my own implementation of a wizard style interface and struggling to get it working correctly, along with every other style of wizard interface I expect to encounter the same problem. See image: Basically I am using a grid and have my…
baron
  • 11,011
  • 20
  • 54
  • 88
0
votes
2 answers

jQuery Mobile Dynamic Content Insertion

Ok, would someone help me figure out why the "test" li in the following code isn't visible? I inspected the live dom and the elements do seem to be getting processed: