Click or drag to resize
AbstractDefaultLayout Class
Default layout
Inheritance Hierarchy

Namespace: CMS.FormControls
Assembly: CMS.FormControls (in CMS.FormControls.dll) Version: 8.2.23
Syntax
C#
public abstract class AbstractDefaultLayout : AbstractLayout

The AbstractDefaultLayout type exposes the following members.

Constructors
  NameDescription
Protected methodAbstractDefaultLayout
Constructor for the class.
Top
Methods
  NameDescription
Protected methodAddControlToPanel
Adds control to form panel.
(Inherited from AbstractLayout.)
Protected methodCreateCategory
Renders whole category (iterates through fields and renders them).
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 methodCreateField
Creates the field.
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 methodCreateInvisibleField
Creates invisible field with default value if field is not public and it is not allowed to be empty.
Protected methodCreateVisibilityControl
Creates the visibility control for a field.
(Inherited from AbstractLayout.)
Protected methodGetAnchorID
Gets identifier for anchor element.
Protected methodGetLocalizedCategoryCaption
Returns caption from category info or default category name from parent BasicForm with resolved macros (data and/or localization).
Protected methodGetRowCssClassAttribute
Gets row CSS class attribute for form field
Protected methodGetSubmitButton
Adds the submit button to the form.
Protected methodGetTitleAttribute
Returns title attribute with encoded text or empty string if no title is defined.
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 methodLoad
Loads layout based on specific type.
Public methodLoadLayout
Loads the default form layout from the given form information.
(Overrides AbstractLayoutLoadLayout.)
Protected methodRegisterButtonPanel
Creates submit panel.
Protected methodRegisterScripts
Registers necessary JavaScripts.
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Top
Fields
  NameDescription
Protected fieldcategories
Stores initiated categories(with translated captions).
Protected fieldmCollapsibleImages
Dictionary of the collapsible images indexed by category name
(Inherited from AbstractLayout.)
Top
Properties
  NameDescription
Protected propertyBasicForm
Form
(Inherited from AbstractLayout.)
Protected propertyCategoryListPanel
Category list panel, may be displayed above formPanel.
Protected propertyFormElements
Gets visible form elements.
Public propertyFormPanel
Main form panel
(Inherited from AbstractLayout.)
Public propertyRequiredMarkCssClass
Gets or sets CSS class for the required mark (*)
(Inherited from AbstractLayout.)
Protected propertyTotalColumns
Indicates number of form columns.
Top
Events
  NameDescription
Public eventOnAfterRegisterFormControl
Event representing control registration.
(Inherited from AbstractLayout.)
Top
See Also