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.