LayoutTemplate Class |
Namespace: CMS.FormControls
public class LayoutTemplate : AbstractLayout
The LayoutTemplate type exposes the following members.
Name | Description | |
---|---|---|
LayoutTemplate |
Constructor for the class.
|
Name | Description | |
---|---|---|
AddControlToPanel |
Adds control to form panel.
(Inherited from AbstractLayout.) | |
CollectFormElements |
Collects form elements from the given container.
| |
CreateCollapsibleImage |
Gets collapsible image.
(Inherited from AbstractLayout.) | |
CreateEditingFormControl |
Creates new EditingFormControl and puts it into FieldEditingControls hash table.
(Inherited from AbstractLayout.) | |
CreateErrorLabel |
Creates the validation label for a field.
(Inherited from AbstractLayout.) | |
CreateFieldActions |
Creates additional field action buttons and puts them into FieldActionsControls dictionary.
(Inherited from AbstractLayout.) | |
CreateFieldLabel |
Creates the field label.
(Inherited from AbstractLayout.) | |
CreateVisibilityControl |
Creates the visibility control for a field.
(Inherited from AbstractLayout.) | |
EnsureErrorLabels |
Ensures the existence of the error labels for fields.
| |
GetFieldName |
Gets the name for the given field.
| |
IsCategoryCollapsed |
Returns true if the given category is collapsed
(Inherited from AbstractLayout.) | |
IsExcludedRequiredField |
Indicates if field is excluded from applying the required field format string.
(Inherited from AbstractLayout.) | |
LoadLayout |
Loads the template layout for the form.
(Overrides AbstractLayoutLoadLayout.) | |
RegisterCategory |
Registers BasicForm's form category.
| |
RegisterEditingFormControl |
Registers EditingFormControl into BasicForm controls.
| |
RegisterErrorLabel |
Registers error label for specified field in BasicForm.
| |
RegisterFormControl |
Registers the given form control within the form.
| |
RegisterFormControlControl |
Registers FormControl into BasicForm controls.
| |
RegisterFormEngineUserControl |
Registers FormEngineUserControl into BasicForm controls.
| |
RegisterFormErrorMessageLabel |
Registers message error label for whole form.
| |
RegisterFormFieldControl |
Registers FormField into BasicForm controls.
| |
RegisterFormInfoMessageLabel |
Registers message info label for whole form.
| |
RegisterLabel |
Registers info label for specified control.
| |
RegisterRequiredValidator | Obsolete.
Registers field's "required" validator into BasicForm.
| |
RegisterSubmitButton |
Registers BasicForm's submit button.
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) |
Name | Description | |
---|---|---|
mCollapsibleImages |
Dictionary of the collapsible images indexed by category name
(Inherited from AbstractLayout.) |
Name | Description | |
---|---|---|
BasicForm |
Form
(Inherited from AbstractLayout.) | |
FormPanel |
Main form panel
(Inherited from AbstractLayout.) | |
RequiredMarkCssClass |
Gets or sets CSS class for the required mark (*)
(Inherited from AbstractLayout.) |
Name | Description | |
---|---|---|
OnAfterRegisterFormControl |
Event representing control registration.
(Overrides AbstractLayoutOnAfterRegisterFormControl.) |