Browse by Tags

For those that think Microsoft Connect is useless
A while back I reported both through my weblog and Microsoft Connect what I thought was a serious flaw in the WPF validation infrastructure for ValidationRule and Binding. The issue, in short was: The validation check is invoked during any attempt to...
NavigationWindow, WinFormsHost and TextBoxes: backspace bug
WPF NavigationWindow is a very handy class that allows you to easily build Vista-like wizards, or any kind of window that resembles the browser-style navigation:    The NavigationWindow will automatically handle the Backspace, Back/Next...
How to compile and run ALL WPF samples in the Windows SDK with a single command
Just issue the following PowerShell one-liner, and you'll compile and run each sample in the SDK (enter all in one line; broken here for readability): PS C:\WinFx Samples\WPFSamples\AppModel\> gci -i *.csproj -r | foreach { pushd ([System.IO.Path]...
Automatic generation of data-binding interfaces for data context objects
From the new Clarius Labs release : XamlBinding Custom Tool This custom tool will generate a partial class file implementing INotifyPropertyChange as well as a strongly-typed event for each property declared in the file it's applied to. This is very useful...
Evolving community guidelines on XAML and WPF
I just found the following excelent guidelines (especially the ones on resources organization) at Paul Stovell's blog . I think it would be great to have community-developed guidelines on this topic. I've proposed to Paul to use Jottit , which is brain...
Automatic input validation in WPF with data binding and Enterprise Library Validation Application Block
WPF provides validation infrastructure for databinding scenarios through ValidationRule objects. Only one built-in rule is provided, and you're expected to write most of these yourself. The way they work is by assigning one or more explicit rules to a...
Serious flaw in WPF validation infrastructure for ValidationRule and Binding
Adam Nathan 's excelent book on WPF states: The validation check is invoked during any attempt to update the underlying data ... before a value converter is called (if present)... This is further reinforced on MSDN where the validation process is explained...
Why we need an EntLib Standalone Validation Application Block
In my previous post about XAML and its future as a domain model/DSL serialization format , I've argued that System.Configuration as well as Enterprise Library Configuration (part of the core of EntLib) will soon become irrelevant. The caveat is that now...
Why XAML makes System.Configuration and Enterprise Library Configuration obsolete
It may seem unrelated, but if you haven't read Fowler's article on DSLs ( from Google cache if it's down like now ), please do so now. It will help you understand why XAML goes far beyond WPF and presentation. Configuration is typically nothing more than...
Forget about extending WPF data-binding support
Databinding in WPF is implemented in the Binding class, which in principle looks like just a MarkupExtension . A MarkupExtension is a core piece of XAML markup "magic". It's rather simple, though: public abstract class MarkupExtension { // Methods protected...
More Posts Next page »

Search

Go

This Blog

News

     

      Microsoft MVP Profile

Syndication