Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/haskell/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Windows phone 7 Windows Phone 7文本框不';不允许输入空格_Windows Phone 7_Textbox_Inputscope - Fatal编程技术网

Windows phone 7 Windows Phone 7文本框不';不允许输入空格

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

我有下一个XAML代码:

<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操作的代码部分。