void AboutToReleaseFocus(Focusable focusable, Focusable willGiveFocusTo, FocusChangeDirection direction) { using (FocusOutEvent e = FocusOutEvent.GetPooled(focusable, willGiveFocusTo, direction, this)) { focusable.SendEvent(e); } }
static void AboutToReleaseFocus(Focusable focusable, Focusable willGiveFocusTo, FocusChangeDirection direction) { using (FocusOutEvent e = FocusOutEvent.GetPooled(focusable, willGiveFocusTo, direction)) { UIElementsUtility.eventDispatcher.DispatchEvent(e, null); } }