ウィンドウ内のすべてのコントロールの境界線を無効にする場合は、ウィンドウ自体ではなく、ウィンドウの最初のパネルにManipulationBoundaryFeedback
ハンドルを配置する必要があります。
は動作しません:
<Window x:Class="TestControls.BoundaryFeedback"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
ManipulationBoundaryFeedback="Control_ManipulationBoundaryFeedback"
>
</Window>
作品:背後にあるコードで
<Window x:Class="TestControls.BoundaryFeedback"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>
<Grid ManipulationBoundaryFeedback="Control_ManipulationBoundaryFeedback">
</Grid>
</Window>
:
private void Control_ManipulationBoundaryFeedback(object sender, ManipulationBoundaryFeedbackEventArgs e)
{
e.Handled = true;
}
また、私は追加する必要があります、私はアプリがあるときにのみ、これを行いだと思うが全画面表示。 –
これは[境界フィードバック](http://msdn.microsoft.com/en-us/library/dd371416.aspx)と呼ばれ、独自のウィンドウでは無効にする必要があります。システム全体についてはわかりません。 –