/// <summary> /// Checks for the provided <code>sap.ui.commons.Button</code> in the aggregation {@link #getButtons buttons}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oButton">The button whose index is looked for</param> /// <returns>The index of the provided control in the aggregation if found, or -1 otherwise</returns> public extern virtual int indexOfButton(sap.ui.commons.Button oButton);
/// <summary> /// Adds some button to the aggregation {@link #getButtons buttons}. /// </summary> /// <param name="oButton">The button to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.SegmentedButton addButton(sap.ui.commons.Button oButton);
/// <summary> /// Adds some button to the aggregation {@link #getButtons buttons}. /// </summary> /// <param name="oButton">The button to add; if empty, nothing is inserted</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.Panel addButton(sap.ui.commons.Button oButton);
/// <summary> /// Inserts a button into the aggregation {@link #getButtons buttons}. /// </summary> /// <param name="oButton">The button to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the button should be inserted at; for a negative value of <code>iIndex</code>, the button is inserted at position 0; for a value greater than the current size of the aggregation, the button is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.SegmentedButton insertButton(sap.ui.commons.Button oButton, int iIndex);
/// <summary> /// Inserts a button into the aggregation {@link #getButtons buttons}. /// </summary> /// <param name="oButton">The button to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the button should be inserted at; for a negative value of <code>iIndex</code>, the button is inserted at position 0; for a value greater than the current size of the aggregation, the button is inserted at the last position</param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.commons.Panel insertButton(sap.ui.commons.Button oButton, int iIndex);