public void HandleLostFocus(EventArgs e)
        {
            _canvasViewport.FullMode = false;
            //
            UIFocusEventArgs e1 = GetFreeFocusEventArgs();

            _topWinEventRoot.RootLostFocus(e1);
            ReleaseFocusEventArgs(e1);
            //
            PrepareRenderAndFlushAccumGraphics();
        }
        public void HandleGotFocus(EventArgs e)
        {
            if (_canvasViewport.IsClosed)
            {
                return;
            }
            _canvasViewport.FullMode = false;

            UIFocusEventArgs e1 = GetFreeFocusEventArgs();

            _topWinEventRoot.RootGotFocus(e1);
            ReleaseFocusEventArgs(e1);
            //
            PrepareRenderAndFlushAccumGraphics();
        }
Ejemplo n.º 3
0
 void ReleaseFocusEvent(UIFocusEventArgs e)
 {
     e.Clear();
     this.stockFocusEvents.Push(e);
 }
Ejemplo n.º 4
0
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
 }
 void ReleaseFocusEventArgs(UIFocusEventArgs e)
 {
     e.Clear();
     _focusEventStack.Push(e);
 }
Ejemplo n.º 6
0
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
     e.CurrentContextElement = this;
 }
Ejemplo n.º 7
0
 protected virtual void OnGotKeyboardFocus(UIFocusEventArgs e)
 {
 }
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
     //this.OnLostFocus(e);
 }
Ejemplo n.º 9
0
 protected virtual void OnGotKeyboardFocus(UIFocusEventArgs e)
 {
 }
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
 }
 //------------------------------------------------------------
 void IEventPortal.PortalGotFocus(UIFocusEventArgs e)
 {
     //this.OnGotFocus(e);
 }
Ejemplo n.º 12
0
 protected virtual void OnGotFocus(UIFocusEventArgs e)
 {
 }
Ejemplo n.º 13
0
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
     OnLostKeyboardFocus(e);
     _externalEventListener?.ListenLostKeyboardFocus(e);
 }
Ejemplo n.º 14
0
 protected override void OnLostKeyboardFocus(UIFocusEventArgs e)
 {
     base.OnLostKeyboardFocus(e);
     textEditRenderElement.Blur();
 }
 void IEventListener.ListenGotKeyboardFocus(UIFocusEventArgs e)
 {
     OnGotKeyboardFocus(e);
 }
Ejemplo n.º 16
0
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
 }
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
     OnLostFocus(e);
 }
 void IEventListener.ListenGotKeyboardFocus(UIFocusEventArgs e)
 {
     OnGotKeyboardFocus(e);
 }