/**
 * Provides information about row expansion or collapse.
*/
var IgcDataSourceRowExpansionChangedEventArgs = /** @class */ /*@__PURE__*/ (function () {
    function IgcDataSourceRowExpansionChangedEventArgs() {
    }
    Object.defineProperty(IgcDataSourceRowExpansionChangedEventArgs.prototype, "i", {
        /**
         * @hidden
         */
        get: function () {
            return this._implementation;
        },
        enumerable: false,
        configurable: true
    });
    IgcDataSourceRowExpansionChangedEventArgs.prototype.onImplementationCreated = function () {
    };
    IgcDataSourceRowExpansionChangedEventArgs.prototype._provideImplementation = function (i) {
        this._implementation = i;
        this._implementation.externalObject = this;
        this.onImplementationCreated();
    };
    Object.defineProperty(IgcDataSourceRowExpansionChangedEventArgs.prototype, "rowIndex", {
        /**
         * The index of the row being expanded or collapsed.
        */
        get: function () {
            return this.i.rowIndex;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgcDataSourceRowExpansionChangedEventArgs.prototype, "oldState", {
        /**
         * The previous state of the row. True is expanded, False is collapsed.
        */
        get: function () {
            return this.i.oldState;
        },
        enumerable: false,
        configurable: true
    });
    Object.defineProperty(IgcDataSourceRowExpansionChangedEventArgs.prototype, "newState", {
        /**
         * The new state of the row. True is expanded, False is collapsed.
        */
        get: function () {
            return this.i.newState;
        },
        enumerable: false,
        configurable: true
    });
    return IgcDataSourceRowExpansionChangedEventArgs;
}());
export { IgcDataSourceRowExpansionChangedEventArgs };
