FormFieldRenderingConfiguration Class |
Namespace: Kentico.Forms.Web.Mvc
public class FormFieldRenderingConfiguration
The FormFieldRenderingConfiguration type exposes the following members.
Name | Description | |
---|---|---|
FormFieldRenderingConfiguration |
Name | Description | |
---|---|---|
GetConfiguration |
An event raised upon getting rendering configuration of a form field on live site. Allows for modification of Configuration
for rendering the specified FormComponent.
|
Name | Description | |
---|---|---|
ColonAfterLabel |
Gets or sets a value indicating whether a colon is rendered after 'label' element. True by default.
| |
ComponentWrapperConfiguration |
Gets or sets the rendering configuration of an element wrapping the form's 'editor' element.
| |
Default |
Gets or sets the default form rendering configuration. The default configuration wraps the form field in a 'div' element with no attributes and renders a colon after the label.
The configuration can be adjusted for individual form components using the GetConfiguration event.
| |
EditorHtmlAttributes |
Gets or sets HTML attributes for the form's 'editor' element. An empty dictionary by default.
| |
EditorWrapperConfiguration |
Gets or sets the rendering configuration of an element wrapped in ComponentWrapperConfiguration and the corresponding 'explanation text'.
| |
ExplanationTextWrapperConfiguration |
Gets or sets the rendering configuration to the explanation text of a form field.
| |
LabelHtmlAttributes |
Gets or sets the HTML attributes for the form's 'label' element. An empty dictionary by default.
| |
LabelWrapperConfiguration |
Gets or sets the rendering configuration of an element wrapping the form's 'label' element.
| |
RootConfiguration |
Gets or sets the rendering configuration of an element wrapping the form's field.
A field consists of a label and an editor.
| |
ShowSmartFieldIcon |
Gets or sets a value indicating whether a smart field icon is rendered for smart fields.
| |
SmartFieldIconHtmlAttributes |
Gets or sets HTML attributes for the smart field icon. An empty dictionary by default.
| |
SmartFieldIconWrapperConfiguration |
Gets or sets the rendering configuration of an element wrapping the smart icon element.
| |
SuppressValidationMessages |
When true no validation messages are rendered for the fields.
This way validation messages may be handled from outside of the form field.
| |
Widget |
Gets rendering configuration for a widget field.
The configuration can be adjusted for individual form components using the GetConfiguration event.
|