Is it possible to set InputScope from a webpage?

2019-06-07 21:28发布

问题:

If I'm creating a webpage that will be displayed in IE on Phone 7, can I specify the InputScope that text boxes in the webpage should use?

回答1:

No, this is not possible. InputScope is a proprty of a TextBox and there is no custom attribute defined for a HTML input to use as an equivalent.

The webbrowser control will use the same SIP as the "Text" InputScope for HTML input.