/// <summary> /// Attaches event handler <code>fnFunction</code> to the {@link #event:rangeSwitch rangeSwitch} event of this <code>sap.ui.commons.ResponsiveContainer</code>. /// /// When called, the context of the event handler (its <code>this</code>) will be bound to <code>oListener</code> if specified, otherwise it will be bound to this <code>sap.ui.commons.ResponsiveContainer</code> itself. /// /// The event is fired the width of the container reaches a new range. /// </summary> /// <param name="oData">An application-specific payload object that will be passed to the event handler along with the event object when firing the event</param> /// <param name="fnFunction">The function to be called when the event occurs</param> /// <param name="oListener">Context object to call the event handler with. Defaults to this <code>sap.ui.commons.ResponsiveContainer</code> itself</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.ResponsiveContainer attachRangeSwitch(object oData, sap.ui.commons.ResponsiveContainer.RangeSwitchDelegate fnFunction, object oListener);