Click or drag to resize
LayoutForm Class
Represents custom user layout specified by text with macros.
Inheritance Hierarchy

Namespace: CMS.FormEngine.Web.UI
Assembly: CMS.FormEngine.Web.UI (in CMS.FormEngine.Web.UI.dll) Version: 11.0.0
Syntax
C#
public class LayoutForm : AbstractLayout

The LayoutForm type exposes the following members.

Constructors
  NameDescription
Public methodLayoutForm
Default constructor.
Top
Fields
  NameDescription
Protected fieldmCollapsibleImages
Dictionary of the collapsible images indexed by category name
(Inherited from AbstractLayout.)
Top
Properties
  NameDescription
Protected propertyBasicForm
Form
(Inherited from AbstractLayout.)
Public propertyFormPanel
Main form panel
(Inherited from AbstractLayout.)
Public propertyRequiredMarkCssClass
Gets or sets CSS class for the required mark (*)
(Inherited from AbstractLayout.)
Top
Methods
  NameDescription
Protected methodAddControlToPanel
Adds control to form panel.
(Inherited from AbstractLayout.)
Protected methodAddFormElement
Adds control for the field according to specified type.
Protected methodAddNonMacroContent
Adds other content from form layout into the form.
Protected methodAddSubmitButton
Inserts submit button to form.
Protected methodCreateCollapsibleImage
Gets collapsible image.
(Inherited from AbstractLayout.)
Protected methodCreateEditingFormControl
Creates new EditingFormControl and puts it into FieldEditingControls hash table.
(Inherited from AbstractLayout.)
Protected methodCreateErrorLabel
Creates the validation label for a field.
(Inherited from AbstractLayout.)
Protected methodCreateFieldActions
Creates additional field action buttons and puts them into FieldActionsControls dictionary.
(Inherited from AbstractLayout.)
Protected methodCreateFieldLabel
Creates the field label.
(Inherited from AbstractLayout.)
Protected methodCreateVisibilityControl
Creates the visibility control for a field.
(Inherited from AbstractLayout.)
Protected methodElementCanBeAdded
Indicates if element can be added into layout.
Protected methodGenerateMacroContent
Creates form content according to found macro.
Public methodIsCategoryCollapsed
Returns true if the given category is collapsed
(Inherited from AbstractLayout.)
Protected methodIsExcludedRequiredField
Indicates if field is excluded from applying the required field format string.
(Inherited from AbstractLayout.)
Protected methodLoadHiddenControls
Loads hidden controls from layout.
Public methodLoadLayout
Loads form layout
(Overrides AbstractLayoutLoadLayout.)
Top
Events
  NameDescription
Public eventOnAfterRegisterFormControl
Event representing control registration.
(Inherited from AbstractLayout.)
Top
See Also