Metro Modal 弹出窗口禁用自身
Metro modal flyout disables itself
我像这样使用 metro mahhapps 弹出窗口:
<Grid>
<Controls:FlyoutsControl>
<Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
<!-- Your custom content here -->
</Controls:Flyout>
</Controls:FlyoutsControl>
</Grid>
它会禁用所有内容,甚至它本身 - 我无法关闭它,也无法关闭我的应用程序。
我做错了什么吗?
Flyouts 容器必须位于 MetroWindow
层。
<Controls:MetroWindow.Flyouts>
<Controls:FlyoutsControl>
<Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
<!-- Your custom content here -->
</Controls:Flyout>
</Controls:FlyoutsControl>
</Controls:MetroWindow.Flyouts>
我像这样使用 metro mahhapps 弹出窗口:
<Grid>
<Controls:FlyoutsControl>
<Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
<!-- Your custom content here -->
</Controls:Flyout>
</Controls:FlyoutsControl>
</Grid>
它会禁用所有内容,甚至它本身 - 我无法关闭它,也无法关闭我的应用程序。 我做错了什么吗?
Flyouts 容器必须位于 MetroWindow
层。
<Controls:MetroWindow.Flyouts>
<Controls:FlyoutsControl>
<Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
<!-- Your custom content here -->
</Controls:Flyout>
</Controls:FlyoutsControl>
</Controls:MetroWindow.Flyouts>