Tag: 'wpf'

Which came first, the View or the Model?
Which came first, the View or the Model?
May 22, 2009

XAML Control Design
XAML Control Design
June 26, 2008

I've been digging into some of the open source and 3rd party controls that are becoming available for Silverlight 2. While running into some odd issues with some of them it occurred to me that there are some design guidelines that haven't been well communicated. Back in the early days of WPF I learned (though exactly where is unclear) that every control should support an empty constructor and that all properties (e.g. XAML Attributes) should have a default value. I knew this to be true but I couldn't document where it came from.

Nice Trick for WPF's ListView Column Sizing from Ian Griffiths
Nice Trick for WPF's ListView Column Sizing from Ian Griffiths
May 30, 2007

Url: http://www.interact-sw.co.uk/iangblog/2007/05/3...

WPF Template-Theme Viewer from Chris Sells
WPF Template-Theme Viewer from Chris Sells
April 19, 2007

Url: http://www.sellsbrothers.com/tools/#showmethete...

Changing the "Selected" Style of ListBox's in XAML
Changing the "Selected" Style of ListBox's in XAML
April 17, 2007

I use ListBox's and DataTemplates a lot to show data in different ways in WPF. One of the problems I've faced is how to change the look of the "Selected" element. All the examples I could find assumed you were not using a DataTemplate.  Luckily Chris Sells came to my rescue and pointed me at the ItemContainerStyle.  Using a Template for the ListBoxItem in the ItemContainerStyle let me control the look and feel of the Selected element (or disabled items) easily.

Customizing WPF Controls - MSDN Magazine Articcle
Customizing WPF Controls - MSDN Magazine Articcle
April 11, 2007

Url: http://msdn.microsoft.com/msdnmag/issues/07/05/...

WPF Command Example
WPF Command Example
March 28, 2007

Url: http://wilderminds.blob.core.windows.net/downloads/commandexample.zip

WPF Commands are COOL!
WPF Commands are COOL!
March 27, 2007

I've been digging into the Command infrastructure in WPF lately and I really like the way it works.  Essentially it is a way to separate the idea that you have commands that a particular applciation can execute and the ways you start a command (e.g. menu, toolbar button, context menu, hotkey, pen gesture). WPF comes a standard set of commands that are commonly used (e.g. New, Close, Copy, Paste, Cut, etc.).  You can define your own commands fairly easily as well.

BamlViewer Reflector Addin
BamlViewer Reflector Addin
March 26, 2007

Url: http://www.codeplex.com/reflectoraddins/Release...

.NET 3.0 Visual Studio Extensions ("Orcas") Compatible with Vista RC
.NET 3.0 Visual Studio Extensions ("Orcas") Compatible with Vista RC
September 7, 2006

Url: http://www.microsoft.com/downloads/details.aspx...

Vista and WinFX
Vista and WinFX
May 30, 2006

I have built a test-vista machine to do some WinFX stuff on and it got me wondering...why do I need to run the WinFX runtime installation on Vista? Isn't this supposed to be pre-installed?  Aren't some built-in Vista apps already using WinFX?  I am so confused.  Anyone know?

WPF Data Binding (Pt 2) Article Live on MSDN
WPF Data Binding (Pt 2) Article Live on MSDN
April 11, 2006

Url: http://msdn.microsoft.com/windowsvista/default....

WPF Data Binding (Pt 1) Article Live on MSDN
WPF Data Binding (Pt 1) Article Live on MSDN
April 3, 2006

Url: http://msdn.microsoft.com/winfx/default.aspx?pu...

Sean Gerety Doing a WPF "Coffee Talk" at 5 Seasons on February 20th, 2006 - 7pm
Sean Gerety Doing a WPF "Coffee Talk" at 5 Seasons on February 20th, 2006 - 7pm
February 9, 2006

Url: http://dotnetjunkies.com/WebLog/metablog/archiv...

A Night of Avalon
A Night of Avalon
January 25, 2006

Url: http://avbsg.net

My First Taste of Cider...
My First Taste of Cider...
January 11, 2006

Book Review: Programming Windows Presentation Framework
Book Review: Programming Windows Presentation Framework
November 3, 2005

Url: http://www.amazon.com/exec/obidos/tg/detail/-/0...

3rd Party Controls....
3rd Party Controls....
August 23, 2005

Another Application...
Another Application...
August 21, 2005

Url: http://wilderminds.blob.core.windows.net/downloads/AvFontBrowserSe...

My First XAML App...
My First XAML App...
August 20, 2005

It's not finished yet, but I am working on a Font Browser using Avalon.  It's fun to work with XAML and code-behind, but without splitter or treeview controls its hard to make something really fun.  I am also working on a database browser with Avalon, but until I find a tree view that project is dead.

Digging Deep into Avalon (MPF) Again...
Digging Deep into Avalon (MPF) Again...
August 19, 2005

Avalon in Greenville
Avalon in Greenville
August 17, 2005

Url: http://developersguild.org

Microsoft Acrylic/Expression Beta
Microsoft Acrylic/Expression Beta
June 10, 2005

Url: http://www.microsoft.com/products/expression/

New Indigo/Avalon Bits work with VS Beta 2
New Indigo/Avalon Bits work with VS Beta 2
May 23, 2005

Url: http://www.microsoft.com/downloads/details.aspx...

Very Impressive Avalon-based Chess Game in 3D
Very Impressive Avalon-based Chess Game in 3D
March 31, 2005

Url: http://www.valil.com/avalon/