私はここに作業場を与えることができます、多分少しダフィーですが、あなたの問題を解決することができます。 Page.BottomAppBar
中のCommandBar以来
は、ソフトウェアキーボードが表示されているが、それはSplitViewペインに重なったときに、私たちはGrid
の内容にCommandBar
を保つが、このCommandBar
のコピーを作成し、Page.BottomAppBar
にそれを置くことができるHindenとなりません、一方で、それはこのような、たとえば、最初に崩壊します
<Page.BottomAppBar>
<CommandBar x:Name="AppCommandBarCopy" Visibility="Collapsed">
<CommandBar.PrimaryCommands>
<AppBarButton Name="SaveCopy"
Icon="Save"
Label="Save"></AppBarButton>
<AppBarButton Name="ClearCopy"
Icon="ClearSelection"
Label="Clear"></AppBarButton>
</CommandBar.PrimaryCommands>
</CommandBar>
</Page.BottomAppBar>
ソフトウェアキーボードは、キーボードが表示されている場合、このコピーを表示し、表示されているか、いない場合は、コードの後ろに、我々は検出することができます。そうでない場合は、このコピーを非表示にしてください(例:
public SplitViewCommandBarKeyboard()
{
this.InitializeComponent();
InputPane.GetForCurrentView().Showing += OnKeyboardShowing;
InputPane.GetForCurrentView().Hiding += OnKeyboardHidding;
}
private void OnKeyboardHidding(InputPane sender, InputPaneVisibilityEventArgs args)
{
AppCommandBarCopy.Visibility = Visibility.Collapsed;
}
private void OnKeyboardShowing(InputPane sender, InputPaneVisibilityEventArgs args)
{
AppCommandBarCopy.Visibility = Visibility.Visible;
}
[mcve]を表示できますか? – tversteeg