Class StringFieldComparisonValidationRuleProperties
Configuration properties for StringFieldComparisonValidationRule.
public sealed class StringFieldComparisonValidationRuleProperties : ValidationRuleProperties
- Inheritance
-
objectStringFieldComparisonValidationRuleProperties
- Inherited Members
- Extension Methods
Properties
DependeeFieldName
Gets or sets name of other field used for comparison.
[RequiredValidationRule]
public string DependeeFieldName { get; set; }
Property Value
- string
FieldComparison
Gets or sets fields value comparison type.
public StringFieldComparisonTypes FieldComparison { get; set; }
Property Value
FieldComparisonStringified
Comparison field used to handle string representation of dropdown options, which are converted to enum FieldComparison. Use FieldComparison property if accessing/modifing the field.
[RequiredValidationRule]
public string FieldComparisonStringified { get; set; }
Property Value
- string
Methods
GetDescriptionText(ILocalizationService)
Label describing the validation rule and its properties.
public override string GetDescriptionText(ILocalizationService localizationService)
Parameters
localizationService
ILocalizationService
Returns
- string