| FormComponentProperties Class |
Namespace: Kentico.Forms.Web.Mvc
public abstract class FormComponentProperties
The FormComponentProperties type exposes the following members.
| Name | Description | |
|---|---|---|
| FormComponentProperties |
Initializes a new instance of the FormComponentProperties class using the data type, size and precision given.
|
| Name | Description | |
|---|---|---|
| DataType |
Gets or sets the underlying field data type.
| |
| ExplanationText |
Gets or sets the explanation text of the form component.
| |
| Guid |
Gets or sets the underlying field GUID.
| |
| Label |
Gets or sets the label of the form component.
| |
| Name |
Gets or sets the underlying field name.
| |
| Placeholder |
Gets or sets the value displayed as placeholder in the input.
Override and annotate with EditingComponentAttribute to make this property
editable in properties panel.
| |
| Precision |
Gets or sets the underlying field precision.
| |
| Required |
Gets or sets value indicating whether the underlying field is required. False by default.
If false, the form component's implementation must accept nullable input.
| |
| Size |
Gets or sets the underlying field size.
| |
| SmartField |
Gets or sets value indicating whether the underlying field is smart field. False by default.
| |
| Tooltip |
Gets or sets the tooltip of the form component.
| |
| ValidationRuleConfigurations |
Gets or sets validation rule configurations assigned to the form component.
| |
| VisibilityConditionConfiguration |
Gets or sets visibility condition configuration assigned to the form component.
|
| Name | Description | |
|---|---|---|
| GetDefaultValue |
When overridden in a derived class, gets the default value.
| |
| SetDefaultValue |
When overridden in a derived class, sets the default value to value.
The value must be of proper type or an exception is thrown.
|