示例#1
0
        void ITopWindowEventRoot.RootLostFocus()
        {
            UIFocusEventArgs e = GetFreeFocusEvent();

            _iTopBoxEventPortal.PortalLostFocus(e);
            ReleaseFocusEvent(e);
        }
示例#2
0
 void ReleaseFocusEvent(UIFocusEventArgs e)
 {
     e.Clear();
     _stockFocusEvents.Push(e);
 }
示例#3
0
 //------------------------------------------------------------
 void IEventPortal.PortalGotFocus(UIFocusEventArgs e)
 {
     //this.OnGotFocus(e);
 }
示例#4
0
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
     //this.OnLostFocus(e);
 }
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
     OnLostFocus(e);
 }
示例#6
0
 protected Task OnFocus(UIFocusEventArgs args)
 {
     isFocused = true;
     //StateHasChanged();
     return(Task.CompletedTask);
 }
示例#7
0
 protected async Task OnShowDatepickerAsync(UIFocusEventArgs eventArgs)
 {
     await JS.ShowDatePickerAsync("dp");
 }
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
     OnLostKeyboardFocus(e);
     _externalEventListener?.ListenLostKeyboardFocus(e);
 }
 void IEventListener.ListenGotKeyboardFocus(UIFocusEventArgs e)
 {
     OnGotKeyboardFocus(e);
 }
示例#10
0
 protected void SetDisabled(UIFocusEventArgs args, Property property)
 {
     SetState(property, true);
 }
示例#11
0
 public void ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
 }
示例#12
0
 protected virtual void OnGotKeyboardFocus(UIFocusEventArgs e)
 {
 }
示例#13
0
 protected Task OnBlur(UIFocusEventArgs args)
 {
     isFocused = false;
     //StateHasChanged();
     return(Task.CompletedTask);
 }
示例#14
0
 public virtual void PauseGame(UIFocusEventArgs args)
 {
     IsPaused = true;
 }
示例#15
0
 protected override void OnLostKeyboardFocus(UIFocusEventArgs e)
 {
     base.OnLostKeyboardFocus(e);
     textEditRenderElement.Blur();
 }
示例#16
0
 public virtual void ResumeGame(UIFocusEventArgs args)
 {
     IsPaused = false;
 }
 void IEventListener.ListenLostKeyboardFocus(UIFocusEventArgs e)
 {
     OnLostKeyboardFocus(e);
 }
示例#18
0
 void IEventPortal.PortalLostFocus(UIFocusEventArgs e)
 {
     e.CurrentContextElement = this;
 }
示例#19
0
 protected virtual void OnGotFocus(UIFocusEventArgs e)
 {
 }
示例#20
0
 protected virtual void OnGotKeyboardFocus(UIFocusEventArgs e)
 {
 }
示例#21
0
 public static void SetEventInfo(this UIFocusEventArgs e, UIEventName eventName)
 {
     e._evName = eventName;
 }