// Override the focus leave event from Xsharp. protected override void OnFocusOut(Widget other) { if (sink != null) { sink.ToolkitFocusLeave(); } }
//WM_KILLFOCUS occurs when either mouse or keyboard causes focus to be lost (or windows does) internal virtual void KillFocus() { if (sink != null) { sink.ToolkitFocusLeave(); } //Console.WriteLine( "DrawingWindow.LostFocus "+sink) ; }
public void ToolkitFocusLeave() { IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink; if (null != co) { co.ToolkitFocusLeave(); } }