Control interface with base methods and attributes for all controls. This represents the runtime instance of a control. Modifying the properties are immediately reflected in the UI.
container: boolean (optional)
True if the control is a container.
generic: boolean (optional)
getDataSource: function(): any
True if the control is hidden.
applyDesign(design: Design): void
Applies given design to the design on the control. If a design already exists, the prototype chain of the design will be preserved.
|design||Design||object containing design properties as keys|
Returns the design object of this control.
Boolean indicating if the control is editable. Returns false when either the control or it's parent is not editable. Returns true when both the control and it's parent are editable. Returns true when either the control or it's parent is editable and the other is undefined. Returns undefined if both the control's edit-ability and it's parent's edit-ability is undefined.
Returns the metadata object of this control.
Returns the parent (control or page) of this control.
Returns the root form instance (page) of this control.