InvalidComponentProperties Class |
Namespace: Kentico.Forms.Web.Mvc
public class InvalidComponentProperties : FormComponentProperties<string>
The InvalidComponentProperties type exposes the following members.
Name | Description | |
---|---|---|
InvalidComponentProperties |
Initializes a new instance of the InvalidComponentProperties class.
|
Name | Description | |
---|---|---|
DataType |
Gets or sets the underlying field data type.
(Inherited from FormComponentProperties.) | |
DefaultValue |
Gets or sets the default value of the form component.
(Overrides FormComponentPropertiesTValueDefaultValue.) | |
ErrorMessage |
Gets or sets the message describing the error of the original component.
| |
Exception |
Gets or sets the exception that is related to the original component.
| |
ExplanationText |
Gets or sets the explanation text of the form component.
(Inherited from FormComponentProperties.) | |
Guid |
Gets or sets the underlying field GUID.
(Inherited from FormComponentProperties.) | |
Label |
Gets or sets the label of the form component.
(Inherited from FormComponentProperties.) | |
Name |
Gets or sets the underlying field name.
(Inherited from FormComponentProperties.) | |
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.
(Inherited from FormComponentProperties.) | |
Precision |
Gets or sets the underlying field precision.
(Inherited from FormComponentProperties.) | |
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.
(Inherited from FormComponentProperties.) | |
Size |
Gets or sets the underlying field size.
(Inherited from FormComponentProperties.) | |
SmartField |
Gets or sets value indicating whether the underlying field is smart field. False by default.
(Inherited from FormComponentProperties.) | |
Tooltip |
Gets or sets the tooltip of the form component.
(Inherited from FormComponentProperties.) | |
ValidationRuleConfigurations |
Gets or sets validation rule configurations assigned to the form component.
(Inherited from FormComponentProperties.) | |
VisibilityConditionConfiguration |
Gets or sets visibility condition configuration assigned to the form component.
(Inherited from FormComponentProperties.) |
Name | Description | |
---|---|---|
GetDefaultValue |
Gets the default value. The DefaultValue property can be used
directly to obtain the typed default value.
(Inherited from FormComponentPropertiesTValue.) | |
SetDefaultValue |
Sets the default value to value.
The value must be of type TValue or an exception is thrown.
The DefaultValue property can be used directly to set the typed default value.
(Inherited from FormComponentPropertiesTValue.) |