Beispiel #1
0
 /// <summary>
 /// Detaches event handler <code>fnFunction</code> from the {@link #event:change change} event of this <code>sap.m.ComboBox</code>.
 ///
 /// The passed function and listener object must match the ones used for event registration.
 /// </summary>
 /// <param name="fnFunction">The function to be called, when the event occurs</param>
 /// <param name="oListener">Context object on which the given function had to be called</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.ComboBox detachChange(sap.m.ComboBox.ChangeDelegate fnFunction, object oListener);
Beispiel #2
0
 /// <summary>
 /// Attaches event handler <code>fnFunction</code> to the {@link #event:change change} event of this <code>sap.m.ComboBox</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.m.ComboBox</code> itself.
 ///
 /// This event is fired when the value in the text input field is changed in combination with one of the following actions:
 ///
 /// <ul> <li>The focus leaves the text input field</li> <li>The <i>Enter</i> key is pressed</li> </ul>
 ///
 /// In addition, this event is also fired when an item in the list is selected.
 /// </summary>
 /// <param name="fnFunction">The function to be called when the event occurs</param>
 /// <returns>Reference to <code>this</code> in order to allow method chaining</returns>
 public extern virtual sap.m.ComboBox attachChange(sap.m.ComboBox.ChangeDelegate fnFunction);