Control
The Control class represents a form control, providing access to its properties and methods for managing values, text, and metadata.
Properties
| Name | Description |
|---|---|
| MultiLanguageText | Gets or sets the multilingual text associated with the control. |
| Text | Gets or sets the text representation of the control's value. |
| Type | Gets the type of the control. |
| Categories | Gets or sets the categories associated with the control. |
| Rows | Gets the rows of a grid control. |
| Value | Gets or sets the value of the control. |
| MLValues | Gets or sets the categories associated with the control. |
| ProjectDeploymentUrl | Gets the project deployment URL associated with the control. |
Constructors
| Name | Description |
|---|---|
| Control(controlObject, projectDeploymentUrl) | Initializes a new instance of the Control class with a specified control object and project deployment URL. |
| Control(controlObject, session, projectDeploymentUrl) | Initializes a new instance of the Control class with a specified control object, session, and project deployment URL. |
Methods
| Name | Description |
|---|---|
| SetMLText(value) | Sets the multilingual text for the control. |
| SetText(value) | Sets the text representation of the control's value. |
| GetMLValues() | Retrieves the multilingual values associated with the control. |
| GetGroup() | Determines the control group based on its type. |
| SetCategories(value) | Sets the categories for the control. |
| GetMLText() | Determines the control group based on its type. |
| GetCategories() | Retrieves the categories associated with the control. |
| GetText() | Retrieves the text representation of the control's value. |
| GetPropertyValue<T>(propertyName) | Retrieves a property value from the control's JSON representation. |