This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Provides helpers to manually toggle validation errors. | |
/// </summary> | |
public static class ManualValidation | |
{ | |
// this dummy attached property is used as a source | |
// of the binding. | |
static readonly DependencyProperty DummyProperty = | |
DependencyProperty.RegisterAttached("DummyProperty", typeof(object), typeof(ManualValidation), new PropertyMetadata(null)); |