Table of Contents

Class RegisterFormComponentAttribute

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

Use this attribute to register UI form component to the system.

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

Constructors

RegisterFormComponentAttribute(string, Type, string)

Initializes a new instance of the RegisterFormComponentAttribute class.

public RegisterFormComponentAttribute(string identifier, Type componentType, string name)

Parameters

identifier string

Unique identifier of the UI form component.

componentType Type

Type implementing the UI form component.

name string

Name of the UI form component.

Properties

Available

Value determining whether the component is available to be assigned to a field.

public bool Available { get; }

Property Value

bool

Identifier

Unique identifier of the form component.

public string Identifier { get; }

Property Value

string

MarkedType

Type implementing the form component.

public Type MarkedType { get; }

Property Value

Type

Name

Name of the form component.

public string Name { get; }

Property Value

string