Export (0) Print
Expand All

ValidatorRule Class

Validation rule that performs validation of a converted value using the validators associated to the source property of a binding.

Namespace: Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF
Assembly: Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF (in Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF.dll) Version: 6.0.0.0 (6.0.1304.0)

public class ValidatorRule : ValidationRule

A ValidatorRule can be initialized with a BindingExpression from which it can get the source item and the source property to extract the appropriate validators.

This rule is intended to be used on the ConvertedProposedValue step, after the raw value has been converted but before it is applied to the source of the binding.

System.Object
  System.Windows.Controls.ValidationRule
    Microsoft.Practices.EnterpriseLibrary.Validation.Integration.WPF.ValidatorRule
Show:
© 2014 Microsoft