locked
How to pop up virtual keyboard when user clicked a rect without TextBox?

    Question

  • look at the picture, when the user click the input area, the virtual keyboard can popup.

    but, I didn't see any XAML control.

    I want to know, how the game to do like this.



    • Edited by lihuipeng49 Thursday, December 4, 2014 6:01 PM
    Thursday, December 4, 2014 5:59 PM

Answers

  • The input pane comes up with the user uses touch to set the focus to a control which provides UI Automation text properties. The input pane doesn't know anything specifically about Xaml or HTML controls. It recognizes them as text controls because they implement the TextPattern.

    See The touch keyboard for more information.

    • Marked as answer by lihuipeng49 Friday, December 5, 2014 1:25 PM
    Thursday, December 4, 2014 7:24 PM
    Moderator