/// <summary> /// Removes a delegate previously added or set by AddFocusDelegate() /// or SetFocusDelegate(). /// </summary> /// <param name="del">The delegate to be removed.</param> public void RemoveFocusDelegate(FocusDelegate del) { focusDelegate -= del; }
/// <summary> /// Sets the delegate to be called when the field receives the focus /// as determined by the customFocusEvent setting. /// NOTE: This will unset any previously assigned focus delegate. /// </summary> /// <param name="del">The delegate to be called.</param> public void SetFocusDelegate(FocusDelegate del) { focusDelegate = del; }
/// <summary> /// Adds a delegate to be called when the field receives the focus /// as determined by the customFocusEvent setting. /// </summary> /// <param name="del">The delegate to be called.</param> public void AddFocusDelegate(FocusDelegate del) { focusDelegate += del; }
public FocusCommand(FocusDelegate del) { _del = del; }
//--------------------------------------------------------- public void RegisterFocusDelegate(FocusDelegate f) { //m_FocusDelegate = f; }