diff --git a/src/Ursa/Controls/IPv4Box/IPv4Box.cs b/src/Ursa/Controls/IPv4Box/IPv4Box.cs index 4a41b70..d79d155 100644 --- a/src/Ursa/Controls/IPv4Box/IPv4Box.cs +++ b/src/Ursa/Controls/IPv4Box/IPv4Box.cs @@ -281,6 +281,13 @@ public class IPv4Box: TemplatedControl { if (presenter?.Bounds.Contains(position)??false) { + _imClient.SetPresenter(presenter, this); + RaiseEvent(new TextInputMethodClientRequestedEventArgs() + { + Source = presenter, + Client = _imClient, + RoutedEvent = InputElement.TextInputMethodClientRequestedEvent, + }); if (e.ClickCount == 1) { presenter.ShowCaret();