Modifier

Partager via


ObservableValidator.ValidateAllProperties Method

Definition

Validates all the properties in the current instance and updates all the tracked errors. If any changes are detected, the ErrorsChanged event will be raised.

protected void ValidateAllProperties ();
member this.ValidateAllProperties : unit -> unit
Protected Sub ValidateAllProperties ()

Remarks

Only public instance properties (excluding custom indexers) that have at least one ValidationAttribute applied to them will be validated. All other members in the current instance will be ignored. None of the processed properties will be modified - they will only be used to retrieve their values and validate them.

Applies to