Table of Contents

Class RegisterFormVisibilityConditionAttribute

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

Registers a form visibility condition.

[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public sealed class RegisterFormVisibilityConditionAttribute : Attribute
Inheritance
object
Attribute
RegisterFormVisibilityConditionAttribute
Extension Methods

Constructors

RegisterFormVisibilityConditionAttribute(string, Type, string)

Initializes a new instance of the RegisterFormVisibilityConditionAttribute class.

public RegisterFormVisibilityConditionAttribute(string identifier, Type conditionType, string name)

Parameters

identifier string

Unique identifier of the visibility condition.

conditionType Type

Type implementing the visibility condition.

name string

Name 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