UILayout Class |
Namespace: CMS.UIControls
public class UILayout : CMSWebControl, INamingContainer
The UILayout type exposes the following members.
Name | Description | |
---|---|---|
mStopProcessing |
Indicates if processing of the placeholder should be stopped.
|
Name | Description | |
---|---|---|
ApplyDemoStyles |
When enabled, the layout will apply basic styles directly to resizers and buttons.
| |
Closable |
Can a pane be closed?
| |
ContainerSelector |
Element the layout is created under. Most commonly 'body' element (default value). Can be any block-element.
| |
IsLiveSite |
Indicates if control is used on live site.
(Inherited from CMSWebControl.) | |
LoadOn |
Defines when the UI Layout JavaScript plug-in should be initialized.
Sometimes it can be useful to register the layout script after document is ready or window is loaded.
| |
OnCloseEndScript |
Script or function name called after 'close' is done.
| |
OnCloseStartScript |
Script or function name called before 'close' is done.
| |
OnHideEndScript |
Script or function name called after 'hide' is done.
| |
OnHideStartScript |
Script or function name called before 'hide' is done.
| |
OnOpenEndScript |
Script or function name called after 'open' is done.
| |
OnOpenStartScript |
Script or function name called before 'open' is done.
| |
OnResizeEndScript |
Script or function name called after 'resize' is done.
| |
OnResizeStartScript |
Script or function name called before 'resize' is done.
| |
OnShowEndScript |
Script or function name called after 'show' is done.
| |
OnShowStartScript |
Script or function name called before 'show' is done.
| |
Panes |
Collection of panes. Cannot contain more than one pane for one direction (NESW or center).
| |
Resizable |
When open, can a pane be resized?
| |
ScrollToBookmarkOnLoad |
This option handles of bookmarks that are passed on the URL of the page.
| |
ShortID |
Short ID of the control.
(Inherited from CMSWebControl.) | |
Slidable |
When closed, can a pane 'slide open' over adjacent panes?
| |
StopProcessing |
Indicates if processing of the UI panel should be stopped.
| |
UIContext |
Returns control's UI context
(Inherited from CMSWebControl.) |
Name | Description | |
---|---|---|
OnInit |
Init event handler
(Overrides CMSWebControlOnInit(EventArgs).) | |
OnPreRender |
PreRender event handler
(Overrides ControlOnPreRender(EventArgs).) |
Name | Description | |
---|---|---|
AddCssClass |
Adds CSS class to control. If class is already present, than adding is skipped. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
CallHandled |
Calls the method handled by the exception handler. If the call doesn't succeed, the problem is reported through parent IExceptionHandler control instead of throwing unhandled exception for the entire page.
Returns true, if the call succeeded, otherwise returns false.
(Defined by ControlsExtensions.) | |
GetCssClasses |
Returns all CSS classes of control.
(Defined by ControlsExtensions.) | |
GetRenderedHTML |
Returns HTML which would be rendered by control to page.
(Defined by ControlsExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by ControlsExtensions.) | |
HasCssClass |
Checks whether the control has given CSS class. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
RemoveCssClass |
Removes all occurrences. Class names are case sensitive.
(Defined by ControlsExtensions.) | |
SetCssClasses |
Sets CSS classes to the control. Current classes will be overridden.
(Defined by ControlsExtensions.) |