Table of Contents

Class NotEqualStringVisibilityCondition

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

The base class for a visibility condition which evaluates a value of a different property.

public sealed class NotEqualStringVisibilityCondition : VisibilityConditionWithDependency<StringComparisonConditionProperties>, IVisibilityCondition
Inheritance
object
NotEqualStringVisibilityCondition
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 IFormFieldValueProvider

Provider 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.