call many method in CustomValidation
WPF
1
Posts
1
Posters
0
Views
1
Watching
-
Hi all, I have a quantity attribute in a dataform and want to validate it.I also have two methods for validate it. Their name are : ValidateUnit and ValidateQuantity. But unfortunally i could only call one method for validate it by following below code :
[CustomValidation(typeof(UnitValidation), "ValidateUnit")]
public string Unit;
.......How could i call two methods for validating Unit ?