// Override the focus enter event from Xsharp. protected override void OnFocusIn(Widget other) { if (sink != null) { sink.ToolkitFocusEnter(); } }
//WM_SETFOCUS occurs when either mouse or keyboard sets focus internal virtual void SetFocus() { if (sink != null) { sink.ToolkitFocusEnter(); } //Console.WriteLine( "DrawingWindow.GotFocus "+sink); }
public void ToolkitFocusEnter() { IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink; if (null != co) { co.ToolkitFocusEnter(); } }