This project is read-only.
This version of the VAB provides the absolute minimum required for use of the validation functionality for in-memory objects that don't depend on any external configuration.

The following blog posts elaborate on the reason this project exists and its goals:
Why XAML makes System.Configuration and Enterprise Library Configuration obsolete
Why we need an EntLib Standalone Validation Application Block

The included Validation.Presentation project provides the integration with WPF, which allows the use of a 100% compatible ValidationBinding that decorated the built-in Binding with validation behavior:

    Title="CustomerSample" Height="300" Width="300"
		<Label Content="First Name:"/>
		<TextBox Grid.Column="1" Text="{v:ValidationBinding FirstName}" TextWrapping="Wrap"/>
		<TextBox Grid.Column="1" Grid.Row="6" Text="{v:ValidationBinding Address.USState}" TextWrapping="Wrap"/>
		<Button Click="OnValidate" HorizontalAlignment="Left" VerticalAlignment="Top" Content="Validate" Grid.Row="7" Grid.RowSpan="2"/>

This extended binding integrates seamlessly with WPF built-in validation infrastructure. In order to display validation error information, you continue to use WPF mechanisms (read more at CodeProject or MSDN).

The extended binding was designed to replace the built-in binding through a straight-forward find&replace on your existing XAML files.

Get the release. Some more information at my blog post about the release.

This project is sponsored by Clarius Labs.


Last edited Dec 15, 2009 at 1:28 PM by ewdev, version 6


PandaWood Feb 3, 2008 at 2:12 AM 
A useful project, thank you. I will always be downloading and binding to the standalone version of VAB from here on.