-api-id | -api-type |
---|---|
M:Windows.UI.ViewManagement.Core.CoreInputView.TryTransferXYFocusToPrimaryView(Windows.Foundation.Rect,Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection) |
winrt method |
Attempts to move focus from the application UI to the input pane.
The rectangle, in client coordinates, representing the previously focused UI element. Specified in device-independent pixels (DIP).
The direction of navigation. If the input pane is not located in the specified direction, this method fails and returns false.
True, if the input pane received focus. Otherwise, false.
Primary view refers to either of the CoreInputViewKind.Keyboard or CoreInputViewKind.Handwriting views, while CoreInputView can be any of the values from CoreInputViewKind.
Rect, CoreInputViewXYFocusTransferDirection, XYFocusTransferredToPrimaryView, XYFocusTransferringFromPrimaryView