2016-04-19 14 views
0

私はフチ無しのフォームを持っています。私は他のフォームをドラッグしようとすると、その上に移動します。他のフォームを作成する方法

WindowStartupLocation="CenterScreen" HorizontalAlignment="Left" VerticalAlignment="Top" MouseDown="Window_MouseDown" Topmost="True" x:Name="win" WindowStyle="None" Height="{x:Static SystemParameters.PrimaryScreenHeight}" Width="{x:Static SystemParameters.PrimaryScreenWidth}" ResizeMode="CanResizeWithGrip" AllowsTransparency="True" Visibility="Visible" SnapsToDevicePixels="True" IsHitTestVisible="True" Loaded="win_Loaded"> 
<WindowChrome.WindowChrome> 
    <WindowChrome 
    CaptionHeight="0" 
    ResizeBorderThickness="5" /> 
</WindowChrome.WindowChrome> 

答えて

0

Topmost="True"を設定します。それを取り除くだけです。

関連する問題