Table of Contents

Class AnotherStringFieldVisibilityCondition

Namespace
Kentico.Forms.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

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
object
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

StringFieldComparisonTypes

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.

See Also