Combo box

Combo box

Drop-down selection whose elements are obtained from a model of the project nodes or from one or more database tables
BrowseName
ComboBox
SuperType
Element(Item)

Properties

Name
BrowseName
DataType
Description
Text
Text
(Only with Mode=Editable) Text of the written/selected element. Can be used to create customized logics (for example, create new nodes)
Model
Model
Reference to the information model or database from which to obtain the data
Selected value
SelectedValue
Value of the property set in Path of the value selected when an element is selected at runtime
Selected item
SelectedItem
Element selected when the object is initialized at runtime (if empty, it is initialized without selections). After initialization, this property displays the node corresponding to the selected element (access to the property is both read and write when the data are obtained from project nodes, read-only when obtained from a database)
UI selected item
UISelectedItem
Returns the element of the list that is selected at runtime
UI selected value
UISelectedValue
Value of the property of the element that is selected at runtime
Allow deselection
AllowDeselection
Allow deselecting elements from the list (no selected items)
Display value path
DisplayValuePath
Attribute/property of the nodes (or column of a database table) whose value is displayed in the list. When this property is empty, if the model is node-based, the BrowseName of the nodes is displayed; if the model is based on a database, the value of the first cell of each row is displayed, except for queries that further filter the values
Selected value path
SelectedValuePath
The property of the selected element used to assign a value to the Selected Value object when an element is selected at runtime
Query
Query
Standard SQL query to filter the data of interest. You can use it to filter data from a database and to filter data obtained from a node-based model. In case of a node-based model, the SELECT * FROM Model part is mandatory, followed by the WHERE clause with which to indicate the search conditions - for example, SELECT * FROM Model WHERE Speed > 40
Mode
Mode
Mode of selection of the elements. Normal: selection with click; Normal with text search: selection with click or full typing of an existing element; Editable: selection with click or full typing of an existing or new element
Font family
FontFamily
Font family
Font weight
FontWeight
Font weight
Font italic
FontItalic
Enables/disables italics in the text
Font size
FontSize
Font size
Text color
TextColor
Color of the text to display
Sort order
SortOrder
Default sort order, ascending or descending, of the elements
Order by
OrderBy
Attribute/property of the nodes or column of a table by which to sort the elements. Generally the same attribute/property or column from which the elements are obtained is set
Input box style
InputBoxStyle
Style for input controls
DataList style
DataListStyle
Style for data lists
ScrollBar style
ScrollBarStyle
Style for scrollbars
Visible
Visible
(Inherited from Element)
Enabled
Enabled
(Inherited from Element)
Opacity
Opacity
(Inherited from Element)
Left margin
LeftMargin
(Inherited from Element)
Top margin
TopMargin
(Inherited from Element)
Right margin
RightMargin
(Inherited from Element)
Bottom margin
BottomMargin
(Inherited from Element)
Width
Width
(Inherited from Element)
Height
Height
(Inherited from Element)
Horizontal alignment
HorizontalAlignment
(Inherited from Element)
Vertical alignment
VerticalAlignment
(Inherited from Element)
Rotation
Rotation
(Inherited from Element)

Methods

Refresh
BrowseName
Refresh
Refresh the displayed data

Events

User selection changed
Event that is triggered when the user changes the current value or status of the control
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal