Article: Inductive UI’s with WPF Navigation Applications

Navigation applications are an attractive feature of Windows Presentation Foundation that allow you to create task-focused user interfaces in a manner that is very difficult to achieve using Windows Forms. In this article, I’ll discuss some of the benefits the navigation application model provides, then describe the features in WPF that make building them possible. […]

Tip: VB.NET XAML Classes and Namespaces

One difference between XAML in a C# project and VB.NET projects is in specifying the x:Class of your XAML root element. For example, in a C# Window XAML file:
<Window
x:Class="BigBank.UI.Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300"
>
<Grid>

[…]

Tip: Readable Markup

In my WPF and XAML Coding Guidelines page (which I’ll be updating soon) I discussed a little rule I follow to keep my markup looking nice. Daniel Crenna has provided a nice VS addin that reformats XAML by lining up the attributes. His post has a nice animation that shows what the tool does. The […]

Thought: DataGrid isn’t a Control, it’s a Lifestyle

(This was inspired by a funny story left by Matt Hamilton)
"Where’s the Data Grid?"
When I talk to customers that are doing Windows Forms and evaluating WPF, this has to be the most common question. Their prayers will now be answered: a data grid will be included in the .NET 3.5 SP1.
Why did it take […]

Tip: WPF 3.0 String.Format

One of the upcoming additions in .NET 3.5 SP1 is a StringFormat parameter you can pass along with your bindings. Sacha Barber has an example of how to use it:
<TextBlock
Text="{Binding Path=AccountBalance, StringFormat=’You have {0:c} in your bank account.’}"
/>
However, if you can’t install the service pack or you […]