| FormComponentDefinition Class |
Namespace: Kentico.Forms.Web.Mvc
public class FormComponentDefinition : ComponentDefinitionBase, IFormBuilderDefinition, IComponentDefinition
The FormComponentDefinition type exposes the following members.
| Name | Description | |
|---|---|---|
| FormComponentDefinition |
Initializes a new instance of the ComponentType class using given identifier, form component type and name.
|
| Name | Description | |
|---|---|---|
| ComponentType |
Gets the type of the form component. The type inherits FormComponentTProperties, TValue.
| |
| Description |
Gets or sets the description of the form component.
| |
| FormComponentPropertiesType |
Gets type of the form component's properties. The type inherits FormComponentProperties.
| |
| IconClass |
Gets or sets icon CSS class of the form component.
| |
| Identifier |
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.) | |
| IsAvailableInFormBuilderEditor |
Determines if the form component can be added via Form builder UI to a form.
Set to false to allow the component to be used programmatically only.
True by default.
| |
| Name |
Name of the registered component.
(Inherited from ComponentDefinitionBase.) | |
| ValueType |
Gets form component's value type.
| |
| ViewName |
Gets or sets the name of the view to render.
|