{
    "$schema": "../../../Schema/ControlDescription.Schema.json",
    "apiVersion": 1,
    "name": "TcHmiGrid",
    "namespace": "TcHmi.Controls.System",
    "displayName": "Grid",
    "version": {
        "full": "1.12.762.46",
        "major": 1,
        "minor": 12,
        "build": 762,
        "revision": 46
    },
    "visible": true,
    "themeable": "Standard",
    "base": "TcHmi.Controls.System.TcHmiContainerControl",
    "description": "A layout Grid for Controls which reacts fluid and responsive.",
    "properties": {
        "containerControl": true,
        "geometry": {
            "width": 300,
            "height": 300
        }
    },
    "icons": [
        {
            "name": "Icons/16x16.png",
            "width": 16,
            "height": 16
        }
    ],
    "template": "Template.html",
    "dependencyFiles": [
        {
            "name": "Style.css",
            "type": "Stylesheet",
            "description": ""
        },
        {
            "name": "TcHmiGrid.js",
            "type": "JavaScript",
            "description": ""
        }
    ],
    "themes": {},
    "attributes": [
        {
            "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 the child controls in columns.",
            "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 child controls in rows.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": "Value"
        },
        {
            "name": "data-tchmi-column-options",
            "propertyName": "ColumnOptions",
            "propertySetterName": "setColumnOptions",
            "propertyGetterName": "getColumnOptions",
            "displayName": "ColumnOptions",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.ColumnOptions",
            "category": "Common",
            "description": "Options for the columns.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "allowSymbolExpressionsInObject": true,
            "defaultValue": null,
            "defaultValueInternal": [
                {
                    "width": 1,
                    "widthUnit": "factor",
                    "widthMode": "Value",
                    "maxWidthUnit": "px",
                    "minWidthUnit": "px",
                    "overflow": false
                }
            ]
        },
        {
            "name": "data-tchmi-row-options",
            "propertyName": "RowOptions",
            "propertySetterName": "setRowOptions",
            "propertyGetterName": "getRowOptions",
            "displayName": "RowOptions",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.RowOptions",
            "category": "Common",
            "description": "Options for the rows.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "allowSymbolExpressionsInObject": true,
            "defaultValue": null,
            "defaultValueInternal": [
                {
                    "height": 1,
                    "heightUnit": "factor",
                    "heightMode": "Value",
                    "maxHeightUnit": "px",
                    "minHeightUnit": "px",
                    "overflow": false
                }
            ]
        },
        {
            "name": "data-tchmi-cell-options",
            "propertyName": "CellOptions",
            "propertyGetterName": "getCellOptions",
            "propertySetterName": "setCellOptions",
            "displayName": "CellOptions",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 10,
            "type": "tchmi:framework#/definitions/TcHmi.Controls.System.TcHmiGrid.CellOptions",
            "category": "Common",
            "description": "Options for the cells.",
            "readOnly": false,
            "heritable": true,
            "allowSymbolExpressionsInObject": true,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "defaultValue": null,
            "defaultValueInternal": []
        },
        {
            "name": "data-tchmi-cell-wrap",
            "propertyName": "CellWrap",
            "propertySetterName": "setCellWrap",
            "propertyGetterName": "getCellWrap",
            "displayName": "CellWrap",
            "visible": true,
            "themeable": "Advanced",
            "displayPriority": 60,
            "type": "tchmi:general#/definitions/Boolean",
            "category": "Common",
            "description": "Defines if the cells wraps if there is not enough space in the row.",
            "readOnly": false,
            "bindable": true,
            "defaultBindingMode": "OneWay",
            "heritable": true,
            "defaultValue": null,
            "defaultValueInternal": true
        }
    ],
    "dataTypes": [
        {
            "schema": "Schema/Types.Schema.json"
        }
    ]
}