ContainerControl
Represents a container control that supports read-only behavior and difference detection.
Properties
Name | Description |
---|---|
ReadOnly | Specifies whether the container control is in a read-only state. |
Loading | Indicates whether the control is in a loading state. |
ContextMenuColumnKey | The key of the column associated with the context menu. |
ContextMenuKey | The key associated with the context menu. |
ClientReadOnly | Indicates that the component is read-only on the client side only and is not protected by the server. |
Style | The styling properties for the control. |
ExecutedServerEvents | A list of server events that have been executed. |
DefaultEnabled | Indicates whether the control is enabled by default. |
ClientEnabled | Indicates whether the control is enabled on the client side. |
Title | The title of the control. |
Visible | Indicates whether the control is visible. |
ContextMenuTarget | The target of the context menu. |
ContainerStyle | The styling properties for the container of the control. |
ServerEvents | A list of server-side events associated with the control. |
Name | The name of the control. |
DefaultClientEnabled | Indicates whether the control is enabled by default on the client side. |
ClientEvents | A list of client-side events associated with the control. |
Enabled | Indicates whether the control is enabled. |
ControlId | The unique identifier of the control. |
ClientVisible | Indicates whether the control is visible on the client side. |
CustomClassName | The custom CSS class name applied to the control. |
DefaultReadOnly | Defines the default read-only state for the container control. |
Caption | The caption of the control. |
Constructors
Name | Description |
---|---|
BaseControl() | Initializes a new instance of the ContainerControl class with default values. |
ContainerControl() | Initializes a new instance of the ContainerControl class with default settings. |
ContainerControl() | Initializes a new instance of the ContainerControl class with empty event lists. |
Methods
Name | Description |
---|---|
OnDoubleClick(sender, e) | Raises the DoubleClick event. |
OnPropertyChanged(sender, e) | Handles the property changed event. |
ToggleLoading() | Toggles the loading state of the control. |
FireClick() | Triggers the Click event. |
GetDifferences(otherObj) | Compares the current instance with another control and returns the differences. |
OnClick(sender, e) | Raises the Click event. |
OnPropertyValueGet(sender, e) | Raises the PropertyValueGet event. |
OnPropertyChanging(sender, e) | Handles the property changing event. |
OnLoad(sender, e) | Raises the Load event. |
Hide() | Hides the control. |
SetPropertyValue(mapping, value) | Sets the value of a property specified by a mapping. |
HideLoading() | Removes the loading state from the control. |
OnRender(sender, e) | Raises the Render event. |
Show() | Makes the control visible. |
GetProtectedData(isDisabledOrReadOnly) | #import (Bimser.CSP.FormControls.Base.ICanProtectData.GetProtectedData(bool)) (shortDescription) |
OnPreRender(sender, e) | Raises the PreRender event. |
ShowLoading() | Sets the control to a loading state. |
ScrollTo() | Scrolls to the control. |
OnInit(sender, e) | Raises the Init event. |
Events
Name | Description |
---|---|
Load | Triggered when the control is loaded. |
Click | Triggered when the control is clicked. |
PropertyValueGet | Triggered when retrieving a control property value. |
DoubleClick | Triggered when the control is double-clicked. |
PreRender | Triggered before the control is rendered. |
Render | Triggered when the control is rendered. |
Init | Triggered when the control is initialized. |