October 16, 2008 12:44 PM
Posted by: MarkWPF
WPFFirstly, what is a resource?
In the world of WPF, it means two things:
- an assembly resource
- 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
Posted by: MarkWPF
WPFIt 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
Posted by: MarkWPF
WPF,
XAML,
XbapWhen 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
Posted by: MarkWPF
WPF,
XAML,
XbapWith 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:
- Using a NavigationWindow - which...
September 29, 2008 4:21 PM
Posted by: MarkWPF
WPF,
XAML,
XbapFor 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
Posted by: MarkWPF
WPF,
XAML,
XbapWhat 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
Posted by: MarkWPF
WPF,
XAML,
XbapFor 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
Posted by: MarkWPF
WPF,
XAML,
XbapTo 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
Posted by: MarkWPF
WPF,
XAML,
XbapFor 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...