Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.7 KB

coreinputview_trytransferxyfocustoprimaryview_587038147.md

File metadata and controls

38 lines (22 loc) · 1.7 KB
-api-id -api-type
M:Windows.UI.ViewManagement.Core.CoreInputView.TryTransferXYFocusToPrimaryView(Windows.Foundation.Rect,Windows.UI.ViewManagement.Core.CoreInputViewXYFocusTransferDirection)
winrt method

Windows.UI.ViewManagement.Core.CoreInputView.TryTransferXYFocusToPrimaryView

-description

Attempts to move focus from the application UI to the input pane.

-parameters

-param origin

The rectangle, in client coordinates, representing the previously focused UI element. Specified in device-independent pixels (DIP).

-param direction

The direction of navigation. If the input pane is not located in the specified direction, this method fails and returns false.

-returns

True, if the input pane received focus. Otherwise, false.

-remarks

Primary view refers to either of the CoreInputViewKind.Keyboard or CoreInputViewKind.Handwriting views, while CoreInputView can be any of the values from CoreInputViewKind.

-see-also

Rect, CoreInputViewXYFocusTransferDirection, XYFocusTransferredToPrimaryView, XYFocusTransferringFromPrimaryView

-examples