import { SelectedItemChangedEventArgs } from "./igr-selected-item-changed-event-args";
import { ensureBool } from "igniteui-react-core/ES2015/componentUtil";
/**
 * Provides data for the SelectedItemChanging event.
*/
export class SelectedItemChangingEventArgs extends SelectedItemChangedEventArgs {
    get i() {
        return this._implementation;
    }
    constructor() {
        super();
    }
    /**
     * Set this to true in order to stop the SelectedItem from changing.
    */
    get cancel() {
        return this.i.cancel;
    }
    set cancel(v) {
        this.i.cancel = ensureBool(v);
    }
}
