C# Class Watchdog.Validation.Core.Internal.ElementValidationHandler.ArtificalValidationRule

A WPF ValidationRule which does nothing. Only exists so we have something to use with Validation.MarkInvalid().
Inheritance: System.Windows.Controls.ValidationRule
显示文件 Open project: JDolinger/Watchdog

Public Methods

Method Description
Validate ( object value, CultureInfo cultureInfo ) : System.Windows.Controls.ValidationResult

When overridden in a derived class, performs validation checks on a value.

Method Details

Validate() public method

When overridden in a derived class, performs validation checks on a value.
public Validate ( object value, CultureInfo cultureInfo ) : System.Windows.Controls.ValidationResult
value object The value from the binding target to check.
cultureInfo System.Globalization.CultureInfo The culture to use in this rule.
return System.Windows.Controls.ValidationResult