internal Events.KeyboardEvent FireKeyUp(Events.KeyboardEvent evt) { if (KeyUp != null) { Delegate[] handlers = (Delegate[])KeyUp.GetInvocationList(); foreach (KeyboardEvent evtHandler in handlers) { if (evt._stopImmediatePropagation) { return(evt); } evtHandler.Invoke(evt); } return(evt); } else { return(evt); } }