/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import * as tslib_1 from "tslib";
import { NativeUIComponent } from "./NativeUIComponent";
import { NativeUIDisplayDensity_$type } from "./NativeUIDisplayDensity";
import { enumGetBox, EnumUtil, markType } from "./type";
/**
 * @hidden
 */
var NativeUIButton = /** @class */ /*@__PURE__*/ (function (_super) {
    tslib_1.__extends(NativeUIButton, _super);
    function NativeUIButton() {
        var _this = _super !== null && _super.apply(this, arguments) || this;
        _this.ay = null;
        return _this;
    }
    NativeUIButton.prototype.get_e = function () {
        return 1;
    };
    Object.defineProperty(NativeUIButton.prototype, "a0", {
        get: function () {
            var a = this.q(1);
            return a == null ? 1 : EnumUtil.getEnumValue(NativeUIDisplayDensity_$type, a);
        },
        set: function (a) {
            this.ak(1, enumGetBox(NativeUIDisplayDensity_$type, a));
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "a1", {
        get: function () {
            var a = this.q(3);
            return a;
        },
        set: function (a) {
            this.ak(3, a);
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(NativeUIButton.prototype, "az", {
        get: function () {
            return this.ay;
        },
        set: function (a) {
            var b = this.ay;
            this.ay = a;
            if (this.ay != null) {
                this.z(1, this.ay);
            }
            else {
                this.ai(1, b);
            }
        },
        enumerable: true,
        configurable: true
    });
    NativeUIButton.$t = markType(NativeUIButton, 'NativeUIButton', NativeUIComponent.$);
    return NativeUIButton;
}(NativeUIComponent));
export { NativeUIButton };
