public void ToolkitMouseEnter() { IToolkitEventSink co = this.mControlWeakRef.Target as IToolkitEventSink; if (null != co) { co.ToolkitMouseEnter(); } }
// Override the mouse enter event from Xsharp. protected override void OnEnter(Widget child, int x, int y, ModifierMask modifiers, CrossingMode mode, CrossingDetail detail) { if (sink != null) { sink.ToolkitMouseEnter(); } }