Skip to main content

Mirror

The Mirror class extends BaseControl and represents a control that mirrors another control's properties.

Properties

NameDescription
ControlIdThe unique identifier of the control.
ClientEventsA list of client-side events associated with the control.
ExecutedServerEventsA list of server events that have been executed.
NameThe name of the control.
ServerEventsA list of server-side events associated with the control.
TargetIdThe identifier of the target control that this mirror is linked to.

Constructors

NameDescription
Mirror()Initializes a new instance of the Mirror class.
Mirror()Initializes a new instance of the Mirror class with empty event lists.

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.