Class StartsWithStringVisibilityCondition
The base class for a visibility condition which evaluates a value of a different property.
public sealed class StartsWithStringVisibilityCondition : VisibilityConditionWithDependency<StringComparisonConditionProperties>, IVisibilityCondition
- Inheritance
-
objectStartsWithStringVisibilityCondition
- Implements
- Inherited Members
- Extension Methods
Remarks
The provided properties type must derive from VisibilityConditionWithDependencyProperties.
Methods
Evaluate(IFormFieldValueProvider)
Evaluates the visibility condition and returns the result.
public override bool Evaluate(IFormFieldValueProvider formFieldValueProvider)
Parameters
formFieldValueProvider
IFormFieldValueProviderProvider of values of other form fields for contextual evaluation. Only fields logically preceding the current field are available.
Returns
- bool
Returns true is the visibility condition is met (i.e. the associated component is to be displayed), otherwise returns false.