Class VisibilityConditionDefinition
Definition of a registered form component visibility condition.
public class VisibilityConditionDefinition : ComponentDefinitionBase, IFormBuilderDefinition, IComponentDefinition
- Inheritance
-
objectVisibilityConditionDefinition
- Implements
- Inherited Members
- Extension Methods
Constructors
VisibilityConditionDefinition(string, Type, string)
Initializes a new instance of the VisibilityConditionDefinition class using given identifier, form component visibility condition type and name.
public VisibilityConditionDefinition(string identifier, Type visibilityConditionType, string name)
Parameters
identifierstringUnique identifier of the form component visibility condition.
visibilityConditionTypeTypeType of the form component visibility condition.
namestringName of the form component visibility condition.
Exceptions
- ArgumentException
Specified
identifieris null, an empty string or identifier does not specify a valid code name.-or-
Specified
visibilityConditionTypedoes not inherit VisibilityCondition, is an abstract type or is a generic type which is not constructed.-or-
Specified
nameis null or an empty string.- ArgumentNullException
Thrown when
visibilityConditionTypeis null.
Properties
VisibilityConditionType
Gets the type of the form component visibility condition. The type inherits VisibilityCondition.
public Type VisibilityConditionType { get; }
Property Value
- Type