WPF Reflections:

WPF


October 22, 2008  9:58 AM

WPF – Loaded event in browser applications



Posted by: MarkWPF
WPF

This is a slightly strange one to my thinking. If you have a loaded event in a panel on a page, it will get fired multiple times. This goes against the behaviour of a WPF application (or Winforms for that matter). I don't know if the same is true for an Asp.Net forms application, since I...

October 16, 2008  12:44 PM

WPF Resources



Posted by: MarkWPF
WPF

Firstly, what is a resource? In the world of WPF, it means two things:

  1. an assembly resource
  2. an object resource
An assembly resource is a blob of data that has been embedded in your assembly. Examples are images, videos or sounds. An object resource is...


October 13, 2008  1:59 PM

WPF and Silverlight



Posted by: MarkWPF
WPF

It would seem that Silverlight 2 (WPF on the web!) is getting closer and closer. It's very exciting of course, simply because having WPF on the web makes it more available to more people. Microsoft have released an RC (Release Candidate) for the development world, allegedly to allow everyone...


September 30, 2008  11:18 AM

WPF – adding hyperlinks to pages



Posted by: MarkWPF
WPF, XAML, Xbap

When you are using pages as your building blocks for WPF development, hyperlinks are a useful way to move onto different pages. That has been proved of course on the internet for many years :-) As to why you might use pages, see a previous


September 29, 2008  4:22 PM

Xbap – how to show them



Posted by: MarkWPF
WPF, XAML, Xbap

With a standard WPF application, you don't really have many options as to how you display the application - it has a top level window and that's it. With a WPF application, you have four options on how to display your top level page in a container:

  1. Using a NavigationWindow - which...


September 29, 2008  4:21 PM

WPF – hosting pages directly in the browser



Posted by: MarkWPF
WPF, XAML, Xbap

For a description of what a page is see blog post. Why would you want to place a page within the browser? It means you can run the WPF application over the internet or an intranet without any installation...


September 27, 2008  5:15 PM

WPF pages hosting in pages



Posted by: MarkWPF
WPF, XAML, Xbap

What do I mean by that? Simply put, you can embed a page within another page. Why would you want to do that? It allows re-use for a start, as well as splitting functionality down into logical chunks. In the following example, I have done just that: First the top level...


September 26, 2008  1:56 PM

Xbap – hosting pages using frames



Posted by: MarkWPF
WPF, XAML, Xbap

For an explanation of what an Xbap is, look at a previous blog of mine. With Xbap pages, you have a useful resource. You can host pages within other windows or with a special xaml construct - a...


September 24, 2008  1:22 PM

Xbap – hosting in NavigationWindow



Posted by: MarkWPF
WPF, XAML, Xbap

To hosting your page in a NavigationWindow, what do you need to do? Well, not a lot actually. You write your page, set your app.xaml's startup uri to point to your page and run it! It will appear in a browser if you created a browser application, or inside a NavigationWindow if it is a WPF...


September 23, 2008  3:55 PM

Xbap – pages instead of windows



Posted by: MarkWPF
WPF, XAML, Xbap

For an explanation of what an Xbap is, look at a previous blog of mine. I have spent the last few weeks writing a Xbap (or page navigation) application in WPF. The first thing you have to get used...


Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to: