private void ControlToHook_GotFocus(object sender, EventArgs e) { widgetToSendTo.OnFocusChanged(e); Keyboard.Clear(); focusedChild?.Focus(); }
private void ControlToHook_GotFocus(object sender, EventArgs e) { if (IPlatformWindow.EnablePlatformWindowInput) { widgetToSendTo.OnFocusChanged(e); Keyboard.Clear(); focusedChild?.Focus(); } }