Inherits from spObject.
component: cPanel
class: spPanel


The cPanel component allows you to create a design area on which you can put your rows and columns. As being a part of bootstrap, the component applies to the bootstrap-grid system. The area is a placeholder, it has no events.The panel component allows you to create a design area on which you can put your rows and columns. The area has a default border (see Bootstrap).


Properties


Description

BackgroundColor

Bootstrap color of the background

Border

Specifies if the panel will show a border

Centered

Will the panel be centered within it's container

Class

Enters the css editor for defining full css specs

collapsible

Makes the panel collapsible

ContainerClass

Behaviour of the panel. See Bootstrap documentation

Context

Panel context. See Bootstrap documentation. Sets coloring (deprecated)

deviceClass

see Layout documentation

fieldsManager

Allows to automatically add a maintainable panel with fields

footer

Deprecated

marginBody

margin of the Panel body (inside the panel)

marginPanel

margin of the Panel itself

paddingBody

padding of the Panel body (inside the panel)

paddingPanel

padding of the Panel itself

Style

For background, edges and shadow

textColor

Color of the text font.


Methods

No methods

PHP Events

Event

Trigger

onCreate

Occurs when a component gets created

onActivate

Occurs when a component enters the Activation state

onDestroy

Occurs when a component gets destroyed


JavaScript Events

No events