Validates settings at runtime. A validation rule is attached to an object of type ValidatingObject and is used to validate the property value of that object. Also see ValidatingObject.Rules
More...
|
string | PropertyName [getset] |
| Name of the property affected by this rule.
|
|
virtual string | ErrorMessage [getset] |
| Error message to use if the property does not follow the rule.
|
|
IsValidDelegateDefinition | IsValid [getset] |
| Rule function following the signature () -> bool.
|
|
Validates settings at runtime. A validation rule is attached to an object of type ValidatingObject and is used to validate the property value of that object. Also see ValidatingObject.Rules
◆ ValidationRule()
- Parameters
-
isValid | Property IsValid |
errorMessage | Property ErrorMessage- |
propertyName | Property PropertyName |