Here is the complete sample what you need.
http://codeblitz.wordpress.com/2009/05/08/wpf-validation-made-easy-with-idataerrorinfo/
https://skydrive.live.com/?cid=2c6600f1c1d5e3be&id=2C6600F1C1D5E3BE%21203
More Related Contents:
- Detecting WPF Validation Errors
- How to add validation to view model properties or how to implement INotifyDataErrorInfo
- WPF DataGrid validation errors not clearing
- How to use IDataErrorInfo.Error in a WPF program?
- ValidationRule with ValidationStep=”UpdatedValue” is called with BindingExpression instead of updated value
- Force validation on bound controls in WPF
- Difference between SelectedItem, SelectedValue and SelectedValuePath
- How to bind RadioButtons to an enum?
- How do you change Background for a Button MouseOver in WPF?
- What is DataContext for?
- How do I change an image source dynamically from code-behind in WPF with an image in Properties.Resources?
- {x:Null} vs. Transparent?
- StringFormat Localization issues in wpf
- WPF Attached Property Data Binding
- Passing two command parameters using a WPF binding
- WPF TextBox to enter decimal values
- WPF Image Caching
- VirtualizingStackPanel + MVVM + multiple selection
- How can I style the border and title bar of a window in WPF? [duplicate]
- WPF Some styles not applied on DataTemplate controls
- Why can’t I style a DataGridTextColumn?
- WPF – Global Style?
- How do I convert a WPF size to physical pixels?
- Binding [VisualStateManager] view state to a MVVM viewmodel?
- Advanced XAML Animation effects. Pulse, Marching ants, Rotations. Alerts
- WPF : dynamic view/content
- Is it possible to initialize WPF UserControls in different threads?
- HorizontalAlignment=Stretch, MaxWidth, and Left aligned at the same time?
- How can I implement fading in and out of Added/Removed ListItems
- How to make WPF TreeView style as WinForms TreeView?