/// <summary> /// Set position of the Callout window relative to the parent control. This function automatically calculates and sets the correct offset, use it instead of <code>setMyPosition/setAtPosition</code>. /// </summary> /// <param name="myPosition">docking position of the Callout</param> /// <param name="atPosition">docking position of the parent control</param> /// <returns><code>this</code> to allow method chaining</returns> public extern virtual sap.ui.commons.CalloutBase setPosition(sap.ui.core.Dock myPosition, sap.ui.core.Dock atPosition);
/// <summary> /// Opens the menu at the specified position. /// /// The position of the menu is defined relative to an element in the visible DOM by specifying the docking location of the menu and of the related element. /// /// See {@link sap.ui.core.Popup#open Popup#open} for further details about popup positioning. /// </summary> /// <param name="bWithKeyboard">Indicates whether or not the first item shall be highlighted when the menu is opened (keyboard case)</param> /// <param name="oOpenerRef">The element which will get the focus back again after the menu was closed</param> /// <param name="my">The reference docking location of the menu for positioning the menu on the screen</param> /// <param name="at">The 'of' element's reference docking location for positioning the menu on the screen</param> /// <param name="of">The menu is positioned relatively to this element based on the given dock locations</param> public extern virtual void open(bool bWithKeyboard, Union <sap.ui.core.Element, dom.HTMLElement> oOpenerRef, sap.ui.core.Dock my, sap.ui.core.Dock at, Union <sap.ui.core.Element, dom.HTMLElement> of);
/// <summary> /// Opens the <code>Menu</code> next to the given control. /// </summary> /// <param name="oControl">The control that defines the position for the menu</param> /// <param name="bWithKeyboard">Whether the menu is opened with a shortcut or not</param> /// <param name="sDockMy">The reference docking location of the <code>Menu</code> for positioning the menu on the screen</param> /// <param name="sDockAt">The <code>oControl</code> reference docking location for positioning the menu on the screen</param> /// <param name="sOffset">The offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "0 10" to move the popup 10 pixels to the right). If the docking of both "my" and "at" is RTL-sensitive ("begin" or "end"), this offset is automatically mirrored in the RTL case as well.</param> public extern virtual void openBy(object oControl, bool bWithKeyboard, sap.ui.core.Dock sDockMy = sap.ui.core.Popup.Dock.BeginTop, sap.ui.core.Dock sDockAt = sap.ui.core.Popup.Dock.BeginBottom, string sOffset = "0 -2");
/// <summary> /// Opens the menu at the specified position. /// /// The position of the menu is defined relative to an element in the visible DOM by specifying the docking location of the menu and of the related element. /// /// See {@link sap.ui.core.Popup#open Popup#open} for further details about popup positioning. /// </summary> /// <param name="bWithKeyboard">Indicates whether or not the first item shall be highlighted when the menu is opened (keyboard case)</param> /// <param name="oOpenerRef">The element which will get the focus back again after the menu was closed</param> /// <param name="my">The reference docking location of the menu for positioning the menu on the screen</param> /// <param name="at">The 'of' element's reference docking location for positioning the menu on the screen</param> /// <param name="of">The menu is positioned relatively to this element based on the given dock locations</param> /// <param name="offset">The offset relative to the docking point, specified as a string with space-separated pixel values (e.g. "0 10" to move the popup 10 pixels to the right)</param> /// <param name="collision">The collision defines how the position of the menu should be adjusted in case it overflows the window in some direction</param> public extern virtual void open(bool bWithKeyboard, Union <sap.ui.core.Element, dom.HTMLElement> oOpenerRef, sap.ui.core.Dock my, sap.ui.core.Dock at, Union <sap.ui.core.Element, dom.HTMLElement> of, string offset, sap.ui.core.Collision collision);
/// <summary> /// Sets a new value for property {@link #getAtPosition atPosition}. /// /// Optional. At position defines which position on the target control to align the positioned tooltip. /// /// When called with a value of <code>null</code> or <code>undefined</code>, the default value of the property will be restored. /// /// Default value is <code>begin bottom</code>. /// </summary> /// <param name="sAtPosition">New value for property <code>atPosition</code></param> /// <returns>Reference to <code>this</code> in order to allow method chaining</returns> public extern virtual sap.ui.core.TooltipBase setAtPosition(sap.ui.core.Dock sAtPosition);