Windows phone 7 Windows Phone 7文本框不';不允许输入空格
我有下一个XAML代码:Windows phone 7 Windows Phone 7文本框不';不允许输入空格,windows-phone-7,textbox,inputscope,Windows Phone 7,Textbox,Inputscope,我有下一个XAML代码: <ControlTemplate x:Key="PollAnswerRadioTextTemplate" TargetType="RadioButton"> <StackPanel Width="400" Margin="20,5,5,30"> <StackPanel> <RadioButton
<ControlTemplate x:Key="PollAnswerRadioTextTemplate" TargetType="RadioButton">
<StackPanel Width="400" Margin="20,5,5,30">
<StackPanel>
<RadioButton
IsChecked="{Binding IsChecked}"
Click="RadioButton_Click"
CommandParameter="{Binding PControlName}"
GroupName="Answer"
Width="400">
<RadioButton.Content>
<TextBlock TextWrapping="Wrap" Text="{Binding PAvalue}"></TextBlock>
</RadioButton.Content>
</RadioButton>
</StackPanel>
<StackPanel>
<TextBox Width="400" Text="{Binding AnswerValueText}" Tag="{Binding PControlName}" AcceptsReturn="True" >
<TextBox.InputScope>
<InputScope>
<InputScopeName NameValue="Chat"/>
</InputScope>
</TextBox.InputScope>
</TextBox>
</StackPanel>
</StackPanel>
</ControlTemplate>
我不能在单词后键入空格。如何在应用程序中关闭拼写自动更正功能?对于第二个问题,只需将InputScopeName NameValue参数更改为“AddressStreet”,即可删除自动更正功能。查看不同输入范围的概述
至于你的空间问题,我认为应该通过改变输入自动解决。如果没有,请发布一些代码隐藏代码,为我们提供更多工作信息。我已将InputScopeName更改为“AddressStreet”,但它不起作用。没有使用textbox操作的代码部分。