/// <summary> /// Adds some section to the aggregation {@link #getSections sections}. /// </summary> /// <param name="oSection">The section 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.Accordion addSection(sap.ui.commons.AccordionSection oSection);
/// <summary> /// Checks for the provided <code>sap.ui.commons.AccordionSection</code> in the aggregation {@link #getSections sections}. and returns its index if found or -1 otherwise. /// </summary> /// <param name="oSection">The section 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 indexOfSection(sap.ui.commons.AccordionSection oSection);
/// <summary> /// Inserts a section into the aggregation {@link #getSections sections}. /// </summary> /// <param name="oSection">The section to insert; if empty, nothing is inserted</param> /// <param name="iIndex">The <code>0</code>-based index the section should be inserted at; for a negative value of <code>iIndex</code>, the section is inserted at position 0; for a value greater than the current size of the aggregation, the section 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.Accordion insertSection(sap.ui.commons.AccordionSection oSection, int iIndex);