ValidationRule Enum property  
Author Message
Chetan Patel





PostPosted: Visual Studio Team System - Testing, ValidationRule Enum property Top

I want to restrict user input for certain custom property similar to ValidationLevel (Log, Medium, and High). Is their any way you can add such property I tried to make enum property but then it never shows up in dialog box.



Visual Studio Team System19  
 
 
Josh Christie MS





PostPosted: Visual Studio Team System - Testing, ValidationRule Enum property Top

After digging through the code, I found there's not actually a way to do this sort of thing from a custom validation rule. We'll have to look into improving this in a future release. Right now, we just surface primitive types and strings.

Josh