Skip to main content

Control

The Control class represents a form control, providing access to its properties and methods for managing values, text, and metadata.

Properties

NameDescription
MultiLanguageTextGets or sets the multilingual text associated with the control.
MLValuesGets or sets the categories associated with the control.
ProjectDeploymentUrlGets the project deployment URL associated with the control.
RowsGets the rows of a grid control.
TypeGets the type of the control.
ValueGets or sets the value of the control.
TextGets or sets the text representation of the control's value.
CategoriesGets or sets the categories associated with the control.

Constructors

NameDescription
Control(controlObject, session, projectDeploymentUrl)Initializes a new instance of the Control class with a specified control object, session, and project deployment URL.
Control(controlObject, projectDeploymentUrl)Initializes a new instance of the Control class with a specified control object and project deployment URL.

Methods

NameDescription
SetMLText(value)Sets the multilingual text for the control.
GetMLValues()Retrieves the multilingual values associated with the control.
GetMLText()Determines the control group based on its type.
SetText(value)Sets the text representation of the control's value.
GetText()Retrieves the text representation of the control's value.
GetCategories()Retrieves the categories associated with the control.
GetPropertyValue<T>(propertyName)Retrieves a property value from the control's JSON representation.
SetCategories(value)Sets the categories for the control.
GetGroup()Determines the control group based on its type.