Class AnotherStringFieldVisibilityCondition
Form component visibility condition specifying dependency on another field of string type whose value satisfies condition based on ComparisonType and CompareToValue.
public class AnotherStringFieldVisibilityCondition : AnotherFieldVisibilityCondition<string>
- Inheritance
-
objectAnotherFieldVisibilityCondition<string>AnotherStringFieldVisibilityCondition
- Inherited Members
- Extension Methods
Properties
CompareToValue
Value to compare against.
[EditingComponent("Kentico.TextInput", Label = "", Order = -90)]
public string CompareToValue { get; set; }
Property Value
- string
ComparisonType
Type of comparison to perform.
[EditingComponent("Kentico.StringFieldComparisonTypeSelector", Label = "", Order = -100)]
public StringFieldComparisonTypes ComparisonType { get; set; }
Property Value
Methods
IsVisible()
Gets a value indicating whether a form component is visible.
public override bool IsVisible()
Returns
- bool
Returns true if DependeeFieldValue and CompareToValue satisfy specified ComparisonType.