void GrabFocus(Focusable focusable, Focusable willTakeFocusFrom, FocusChangeDirection direction) { using (FocusEvent e = FocusEvent.GetPooled(focusable, willTakeFocusFrom, direction, this)) { focusable.SendEvent(e); } }
void ReleaseFocus(Focusable focusable, Focusable willGiveFocusTo, FocusChangeDirection direction) { using (BlurEvent e = BlurEvent.GetPooled(focusable, willGiveFocusTo, direction, this)) { focusable.SendEvent(e); } }