Welcome to WindowsClient.net | Sign in | Join

Rob Relyea - XAMLified

WPF, Silverlight and XAML

Browse by Tags

All Tags » Xaml Code Sample (RSS)
XamlPadSample Step 1e-App.xaml and Assemblies
Added support to store which projects each XAML file is associated with, along with app.xaml and assembly reference info. Notice that I’m using XAML2009 support for Name references in XAML . I’m able to define object graphs (not just trees) via this mechanism...

Posted by Rob_Relyea | 1 comment(s)

XamlPadSample-Step 1d-Window
My Window now works exactly like I want: remembers WindowState it was in (Maximized, Restored, Minimized, FullScreen) remembers monitor is was on remembers where to restore to. I had to use a bit more code that I would have liked, but it all is good....

Posted by Rob_Relyea | 1 comment(s)

XamlPadSample Step 1c-Project
Today I started to teach the XamlDocument class how to find the project that a XAML file is associated with. The technique is somewhat crude right now. [overview of project: XamlPadSample page –today’s source snapshot: 2010-01-22 Source Snapshot ]  ...

Posted by Rob_Relyea | 2 comment(s)

XamlNodeLoop Sample – changing Name to x:Name during Save
A customer asked if it was possible, for their own XAML Vocabulary, to not write down XAML with Name="foo". Instead they wanted to write down x:Name="foo". Here is an example of a way to use a XAML node loop (using a XamlReader and...

Posted by Rob_Relyea | 5 comment(s)

Filed under:

XamlPadSample Step 1b-fullscreen
Enjoyed the feedback I got via blog comment/email about XamlPad/XamlDesigner. I decided today to focus on some of Mike Taulty’s feedback . Already Done One comment from Mike Taulty was already taken care of: Allow for quick navigation through a set of...

Posted by Rob_Relyea | 5 comment(s)

XamlPadSample – Step 1
XamlPadSample step 1 sample code is now available for download from http://robrelyea.com/demos/XamlPadSample/XamlPadSample-2010-01-20.zip . It requires .NET 4 (although I’m not using Beta2, if you are still on Beta2, I think it will work. Please post...

Posted by Rob_Relyea | 3 comment(s)

XAML node loop example: finding all named object instances
[Beta 1 of .NET 4 has released, and we’ve been doing a series of blog posts describing new XAML functionality .] One of the things that most excites me about System.Xaml.dll is the flexibility that our programming model gives to people who need something...

Posted by Rob_Relyea | 7 comment(s)

Channel9: XAML in .NET 4
Channel9! Now that XAML2009 and System.XAML are in your hands , Mike Shim and I visited Adam Kinney to briefly discuss XAML in .NET 4 on Channel 9 . We discuss some language features, show of the latest version of XamlT.Pad , and more. Update: The last...

Posted by Rob_Relyea | with no comments

XamlScenario: Determining if a XAML document is a “WPF” XAML document
An email inside Microsoft asked yesterday for the best way to determine if a XAML document is a “WPF” XAML document.  This is my best answer: .NET 4 Technique: [requires .NET Framework 4’s System.Xaml.dll that we announced/demoed at PDC08] This technique...

Posted by Rob_Relyea | 2 comment(s)

XamlWriter.Save’s Foundation: MarkupObject/MarkupProperty
I’m prototyping and helping design some improvements in XamlWriter.Save() similar to the work that you can see on this wpf forum post about making a faster xamlwriter . Looking at MSDN’s System.Windows.Markup.Primitives namespace, you’ll see the api documentation...

Posted by Rob_Relyea | 5 comment(s)

Filed under: ,

Page view counter