RuleStringComparisonProperties Properties
Represent the RuleStringComparison Validation Rules‘ properties exported to the Application Model.Name | Description |
---|---|
CustomMessageTemplate | Specifies custom informational text displayed in a validation error message for a broken Validation Rule instead of the default message templates specified in the MessageTemplate… properties. Inherited from RuleBaseProperties. |
Id | Specifies the Validation Rule identifier. Inherited from RuleBaseProperties. |
IgnoreCase | Specifies whether to perform a case-sensitive string comparison. |
InvertResult | Specifies whether the Validation Rule is applied directly. Inherited from RuleBaseProperties. |
MessageTemplateCollectionValidationMessageSuffix | Specifies the additional text that will be displayed in the Validation Error window when the Validation Rule applied to a collection property is broken. Inherited from RuleBaseProperties. |
MessageTemplateMustBeEqual | Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleStringComparisonProperties.OperatorType is set to StringComparisonType.Equals. |
MessageTemplateMustBeginWith | Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleStringComparisonProperties.OperatorType is set to StringComparisonType.StartsWith. |
MessageTemplateMustContain | Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the StringComparisonType.Contains. |
MessageTemplateMustEndWith | Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleStringComparisonProperties.OperatorType is set to StringComparisonType.EndsWith. |
MessageTemplateMustNotBeEqual | Specifies the text that will be displayed in the Validation Error window when the Validation Rule is broken. In effect if the RuleStringComparisonProperties.OperatorType is set to StringComparisonType.NotEquals. |
MessageTemplateSkipNullOrEmptyValues | Specifies the template for the message displayed when the Validation Rule was not checked because the target properties are not specified. Inherited from RuleBaseProperties. |
MessageTemplateTargetDoesNotSatisfyCollectionCriteria | Specifies the template for the message displayed when the Validation Rule was not checked because the validated object is not an element of the target collection. Inherited from RuleBaseProperties. |
MessageTemplateTargetDoesNotSatisfyTargetCriteria | Specifies the template for the message displayed when the Validation Rule was not checked because the criteria specified by the RuleBaseProperties.TargetCriteria property is not satisfied by the validated object. Inherited from RuleBaseProperties. |
Name | Specifies the name of the Validation Rule. Inherited from RuleBaseProperties. |
OperandValue | Specifies the value which the property value is compared with. |
OperatorType | Specifies the operator type that must be used when comparing string values. |
ResultType | Specifies the application behavior when the rule is broken. Inherited from RuleBaseProperties. |
SkipNullOrEmptyValues | Specifies whether the Validation Rule is checked for the properties that are set to null (Nothing in VB), an empty string (for string type properties) or a minimal date (for DateTime type properties). Inherited from RuleBaseProperties. |
TargetCollectionOwnerType | Specifies the type in which the collection property is declared, if the Validation Rule is applied to a collection property. Inherited from RuleBaseProperties. |
TargetCollectionPropertyName | Specifies the collection property for which the current Validation Rule will be checked. Inherited from RuleBaseProperties. |
TargetContextIDs | Specifies the Contexts for checking the current Validation Rule. Inherited from RuleBaseProperties. |
TargetCriteria | Specifies the criteria that must be satisfied by the validated object to allow checking the Validation Rule. Inherited from RuleBaseProperties. |
TargetPropertyName | Specifies the property which must satisfy the Validation Rule. Inherited from RulePropertyValueProperties. |
TargetType | Specifies the type of the object for which the Validation Rule will be checked. Inherited from RuleBaseProperties. |
See Also