Skip to main content

LayoutControl

The LayoutControl class is an abstract base class for controls that manage layout, including designer properties, items, and layout settings.

Properties

NameDescription
ControlIdThe unique identifier of the control.
LayoutThe layout settings for the control.
ClientEventsA list of client-side events associated with the control.
DesignerPropsThe designer properties associated with the layout control.
ExecutedServerEventsA list of server events that have been executed.
NameThe name of the control.
ItemsThe list of items contained within the layout control.
ServerEventsA list of server-side events associated with the control.

Constructors

NameDescription
LayoutControl()Initializes a new instance of the LayoutControl class with empty event lists.
LayoutControl()Initializes a new instance of the LayoutControl class with default values.

Methods

NameDescription
OnInit(sender, e)Raises the Init event.
OnPropertyValueGet(sender, e)Raises the PropertyValueGet event.
OnRender(sender, e)Raises the Render event.
OnLoad(sender, e)Raises the Load event.
GetProtectedData(isDisabledOrReadOnly)#import (Bimser.CSP.FormControls.Base.ICanProtectData.GetProtectedData(bool)) (shortDescription)
GetDifferences(otherObj)Compares the current instance with another control and returns the differences.
SetPropertyValue(mapping, value)Sets the value of a property specified by a mapping.
OnPropertyChanged(sender, e)Handles the property changed event.
OnPreRender(sender, e)Raises the PreRender event.
OnPropertyChanging(sender, e)Handles the property changing event.

Events

NameDescription
InitTriggered when the control is initialized.
LoadTriggered when the control is loaded.
PreRenderTriggered before the control is rendered.
PropertyValueGetTriggered when retrieving a control property value.
RenderTriggered when the control is rendered.