Пример #1
0
        void HandleEditingEnded(object sender, EventArgs e)
        {
            HandleEditingChanged(sender, e);

            if (OnLostFocus != null)
            {
                OnLostFocus.Execute();
            }
        }
Пример #2
0
        void HandleEnded(object sender, EventArgs e)
        {
            _view.ResignFirstResponder();

            if (OnLostFocus != null)
            {
                OnLostFocus.Execute();
            }
        }
Пример #3
0
 void View_FocusChange(object sender, View.FocusChangeEventArgs e)
 {
     if (e.HasFocus)
     {
         _activity.ShowSoftInput(View);
         if (OnGetFocus != null)
         {
             OnGetFocus.Execute();
         }
     }
     else if (OnLostFocus != null)
     {
         OnLostFocus.Execute();
     }
 }
Пример #4
0
        private void View_FocusChange(object sender, View.FocusChangeEventArgs e)
        {
            if (e.HasFocus)
            {
                Activity.ShowSoftInput(View);
                if (OnGetFocus != null)
                {
                    OnGetFocus.Execute();
                }
            }
            else
            {
                LogManager.Logger.TextInput(Id, Text);

                if (OnLostFocus != null)
                {
                    OnLostFocus.Execute();
                }
            }
        }