예제 #1
0
 /// <summary>
 /// Removes a delegate previously added or set by AddCommitDelegate()
 /// or SetCommitDelegate().
 /// </summary>
 /// <param name="del">The delegate to be removed.</param>
 public void RemoveCommitDelegate(EZKeyboardCommitDelegate del)
 {
     commitDelegate -= del;
 }
예제 #2
0
 /// <summary>
 /// Sets the delegate to be called when the content of the field
 /// is "committed" (when the return key is pressed on a single-line
 /// field, or when the "Done" button is pressed on an iOS keyboard).
 /// NOTE: This will unset any previously assigned commit delegate.
 /// </summary>
 /// <param name="del">The delegate to be called.</param>
 public void SetCommitDelegate(EZKeyboardCommitDelegate del)
 {
     commitDelegate = del;
 }
예제 #3
0
 /// <summary>
 /// Adds a delegate to be called when the content of the field
 /// is "committed" (when the return key is pressed on a single-line
 /// field, or when the "Done" button is pressed on an iOS keyboard).
 /// </summary>
 /// <param name="del">The delegate to be called.</param>
 public void AddCommitDelegate(EZKeyboardCommitDelegate del)
 {
     commitDelegate += del;
 }
	/// <summary>
	/// Removes a delegate previously added or set by AddCommitDelegate()
	/// or SetCommitDelegate().
	/// </summary>
	/// <param name="del">The delegate to be removed.</param>
	public void RemoveCommitDelegate(EZKeyboardCommitDelegate del)
	{
		commitDelegate -= del;
	}
	/// <summary>
	/// Adds a delegate to be called when the content of the field
	/// is "committed" (when the return key is pressed on a single-line
	/// field, or when the "Done" button is pressed on an iOS keyboard).
	/// </summary>
	/// <param name="del">The delegate to be called.</param>
	public void AddCommitDelegate(EZKeyboardCommitDelegate del)
	{
		commitDelegate += del;
	}
	/// <summary>
	/// Sets the delegate to be called when the content of the field
	/// is "committed" (when the return key is pressed on a single-line
	/// field, or when the "Done" button is pressed on an iOS keyboard).
	/// NOTE: This will unset any previously assigned commit delegate.
	/// </summary>
	/// <param name="del">The delegate to be called.</param>
	public void SetCommitDelegate(EZKeyboardCommitDelegate del)
	{
		commitDelegate = del;
	}
예제 #7
0
 public void RemoveCommitDelegate(EZKeyboardCommitDelegate del)
 {
     this.commitDelegate = (EZKeyboardCommitDelegate)Delegate.Remove(this.commitDelegate, del);
 }
예제 #8
0
 public void AddCommitDelegate(EZKeyboardCommitDelegate del)
 {
     this.commitDelegate = (EZKeyboardCommitDelegate)Delegate.Combine(this.commitDelegate, del);
 }