我在FlipView控件中有一个TextBox控件。但是,当我按下TextBox进行写入时,windows软键盘会结束它。
这只是一个小例子:
<Page
x:Class="App1.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:App1"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid Background="{ThemeResource ApplicationPageBackgroundThemeBrush}">
<FlipView HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
<FlipViewItem>
<TextBox Text="Pag1" Margin="351,642,438,51"></TextBox>
</FlipViewItem>
<FlipViewItem>
<TextBox Margin="351,642,438,51" Text="Pag2"></TextBox>
</FlipViewItem>
</FlipView>
</Grid>
</Page>
编辑:似乎我也无法点击任何地方隐藏键盘!