Class RegisterFormVisibilityConditionAttribute
Registers a form visibility condition.
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class RegisterFormVisibilityConditionAttribute : Attribute
- Inheritance
-
objectAttributeRegisterFormVisibilityConditionAttribute
- Extension Methods
Constructors
RegisterFormVisibilityConditionAttribute(string, Type, string)
Initializes a new instance of the RegisterFormVisibilityConditionAttribute class.
public RegisterFormVisibilityConditionAttribute(string identifier, Type conditionType, string name)
Parameters
identifierstringUnique identifier of the visibility condition.
conditionTypeTypeType implementing the visibility condition.
namestringName of the visibility condition.
Properties
Identifier
Unique identifier of the visibility condition.
public string Identifier { get; }
Property Value
- string
MarkedType
Type implementing the visibility condition.
public Type MarkedType { get; }
Property Value
- Type
Name
Name of the visibility condition.
public string Name { get; }
Property Value
- string
TargetFieldType
Target field type for which the form visibility condition will be available.
public Type TargetFieldType { get; set; }
Property Value
- Type