{
    "$schema": "../../../Schema/ControlDescription.Schema.json",
    "apiVersion": 1,
    "name": "TcHmiRegion",
    "namespace": "TcHmi.Controls.System",
    "displayName": "Region",
    "version": {
        "full": "1.12.762.46",
        "major": 1,
        "minor": 12,
        "build": 762,
        "revision": 46
    },
    "visible": true,
    "themeable": "Advanced",
    "base": "TcHmi.Controls.System.TcHmiControl",
    "description": "A container for content controls.",
    "properties": {
        "containerControl": false,
        "geometry": {
            "width": 500,
            "height": 500
        }
    },
    "icons": [
        {
            "name": "Icons/16x16.png",
            "width": 16,
            "height": 16
        }
    ],
    "template": "Template.html",
    "dependencyFiles": [
        {
            "name": "Style.css",
            "type": "Stylesheet",
            "description": ""
        },
        {
            "name": "TcHmiRegion.js",
            "type": "JavaScript",
            "description": ""
        }
    ],
    "themes": {
        "Base": {
            "resources": [
                {
                    "name": "Themes/Base/Style.css",
                    "type": "Stylesheet",
                    "description": ""
                }
            ]
        }
    },
    "attributes": [
        {
            "name": "data-tchmi-target-content",
            "propertyName": "TargetContent",
            "propertySetterName": "setTargetContent",
            "propertyGetterName": "getTargetContent",
            "displayName": "TargetContent",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/ContentPath",
            "category": "Common",
            "description": "Path to the content file to show.",
            "defaultValue": null,
            "defaultValueInternal": null,
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true
        },
        {
            "name": "data-tchmi-current-content",
            "propertyName": "CurrentContent",
            "propertyGetterName": "getCurrentContent",
            "displayName": "CurrentContent",
            "visible": true,
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiContent",
            "category": "Common",
            "description": "The currently loaded TcHmiContent control object.",
            "defaultValue": null,
            "defaultValueInternal": null,
            "readOnly": true,
            "bindable": false,
            "defaultBindingMode": "OneWay",
            "heritable": true
        },
        {
            "name": "data-tchmi-scale-mode",
            "propertyName": "ScaleMode",
            "propertySetterName": "setScaleMode",
            "propertyGetterName": "getScaleMode",
            "displayName": "ScaleMode",
            "visible": true,
            "themeable": "Standard",
            "displayPriority": 60,
            "type": "tchmi:framework#/definitions/ScaleMode",
            "category": "Common",
            "description": "Possible values are ScaleToFit, ScaleToFitWidth, ScaleToFitHeight, ScaleToFill, None.",
            "defaultValue": null,
            "defaultValueInternal": "None",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true
        },
        {
            "name": "data-tchmi-scrolling",
            "propertyName": "Scrolling",
            "propertySetterName": "setScrolling",
            "propertyGetterName": "getScrolling",
            "displayName": "Scrolling",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 70,
            "type": "tchmi:framework#/definitions/ScrollMode",
            "category": "Common",
            "description": "Possible values are No, Yes, Auto.",
            "defaultValue": null,
            "defaultValueInternal": "No",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true
        },
        {
            "name": "data-tchmi-width-mode",
            "propertyName": "WidthMode",
            "propertySetterName": "setWidthMode",
            "propertyGetterName": "getWidthMode",
            "displayName": "WidthMode",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 40,
            "type": "tchmi:framework#/definitions/SizeModeWithContent",
            "category": "Layout",
            "description": "Defines if the width is taken from the width value, calculated from left and right (parent) or calculated from content.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "Value"
        },
        {
            "name": "data-tchmi-height-mode",
            "propertyName": "HeightMode",
            "propertySetterName": "setHeightMode",
            "propertyGetterName": "getHeightMode",
            "displayName": "HeightMode",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 40,
            "type": "tchmi:framework#/definitions/SizeModeWithContent",
            "category": "Layout",
            "description": "Defines if the height is taken from the height value, calculated from top and bottom (parent) or calculated from content.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "Value"
        }
    ],
    "events": [
        {
            "name": ".onTargetContentReplaced",
            "displayName": ".onTargetContentReplaced",
            "category": "Control",
            "description": "This event is fired when the targetContent has been replaced. The Control is not attached at this time.",
            "visible": true,
            "displayPriority": 10,
            "heritable": true
        }
    ],
    "functions": [],
    "dataTypes": [
        {
            "schema": "Schema/Types.Schema.json"
        }
    ]
}