简体   繁体   English

WP8 C#浏览器样式键盘

[英]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. 我正在尝试为Windows Phone 8创建替代浏览器,并希望为文本框打开与本机浏览器使用的键盘相同的键盘。 The one with the .com button as well as the arrow where the enter button is. 带有.com按钮以及输入按钮所在箭头的按钮。 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 . 使用TextBox中的InputScope属性,看看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. 您正在寻找URL输入范围。 See more here: InputScopeNameValue 在此处查看更多信息: InputScopeNameValue

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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