Gets or sets when the validation rule runs.
Assembly: PresentationFramework (in PresentationFramework.dll)
Legacy Code Example
The following example sets the ConvertedProposedValue on the ValidationRule called ValidateDateAndPrice so that when it runs, the Validate method has access to values that are of the source property's type. When the rules PriceIsAPositiveNumber and FutureDateRule run, the values in each Validate method are strings because the rules run before the values are converted to their respective types.to Code snippet is not found. Confirm that the code snippet name 'BindingGroupSnippets' is correct.
The following example shows the ValidationRuleValidateDateAndPrice. In the Validate method override, the Price property is of type Double and the OfferExpires property is of type DateTime because the strings have been converted to their respective types by the time the ValidationRule runs.Code snippet is not found. Confirm that the code snippet name 'BindingGroupSnippets' is correct.
Available since 3.0