Table of Contents

Method ValidateWithoutUpdate

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

ValidateWithoutUpdate()

Run UI-side validation rules on the proposed value held by this binding expression, but do not write the proposed value back to the source, or run source-side validation rules.

public bool ValidateWithoutUpdate()

Returns

bool

True, if the validation rules all pass, or if there is no proposed value to check. False, otherwise.

Remarks

"UI-side" validation rules are those whose validation step is RawProposedValue or ConvertedProposedValue. Previous validation errors for these rules are cleared, and new errors discovered for these rules are added to the Validation.Errors collections. The Validation.HasError property, validation adorner feedback, and validation error events are updated appropriately.