themedResources
Type: Array of JSON objects
Required: No
"themedResources": [
{
"name": "MyCustomThemedResource",
"displayName": "MyCustomThemedResource",
"description": "This is a custom themed resource. Look at theming of framework controls.",
"type": "tchmi:framework#/definitions/MyThemedDefinition"
}
]
This property contains all user-specific theme definitions that are not defined as attributes in the Engineering Properties window and can only be changed using the theme editor. An example of a "ThemedResource" are images within a control that cannot be exchanged via the Properties window (e.g. KnobConfigHorizontal and KnobConfigVertical for the LinearGauge). A control developer can access these resources via the TcHmi.Theme.get API.
A "themedResources" object contains the following properties:
name
{String}: Name of the property to be changed.displayName
{String}: Name displayed in the Engineering theme editor.description
{String}: Optional description of the property that is displayed in the theme editor on mouseover.type
{String of a framework data type}: Data type of the property. The data type can be either a TwinCAT HMI data type or a user-specific data type defined under "dataTypes". Usually, user-specific data types are used (see Theming).