我在 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>
编辑:看来我也无法点击任何地方来隐藏键盘!