简体   繁体   中英

WP8 C# browser style keybaord

I am trying to make an alternative browser for Windows Phone 8 and would like to have the same keyboard open for my textbox as the one used by the native browser. The one with the .com button as well as the arrow where the enter button is. I am guessing this is probably some simple setting but I have no idea what it is.

Use InputScope property in the TextBox, take a look to this samples in msdn .

For example:

<TextBox Name="txtPhoneNumber" Height="71" Width="460" > 
    <TextBox.InputScope> 
        <InputScope> 
            <InputScopeName NameValue="Number" /> 
        </InputScope> 
    </TextBox.InputScope> 
</TextBox>

You're looking for the URL input scope. See more here: InputScopeNameValue

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM