Click or drag to resize
FormComponentDefinition Class
Definition of a registered form component.
Inheritance Hierarchy
SystemObject
  Kentico.Content.Web.MvcComponentDefinitionBase
    Kentico.Forms.Web.MvcFormComponentDefinition

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public class FormComponentDefinition : ComponentDefinitionBase, 
	IFormBuilderDefinition, IComponentDefinition

The FormComponentDefinition type exposes the following members.

Constructors
  NameDescription
Public methodFormComponentDefinition
Initializes a new instance of the ComponentType class using given identifier, form component type and name.
Top
Properties
  NameDescription
Public propertyComponentType
Public propertyDescription
Gets or sets the description of the form component.
Public propertyFormComponentPropertiesType
Gets type of the form component's properties. The type inherits FormComponentProperties.
Public propertyIconClass
Gets or sets icon CSS class of the form component.
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.)
Public propertyIsAvailableInFormBuilderEditor
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.
Public propertyName
Name of the registered component.
(Inherited from ComponentDefinitionBase.)
Public propertyValueType
Gets form component's value type.
Public propertyViewName
Gets or sets the name of the view to render.
Top
See Also