Xaml Metro模态弹出按钮自动禁用
我使用过metro Mahapps弹出按钮,如下所示:Xaml Metro模态弹出按钮自动禁用,xaml,mahapps.metro,Xaml,Mahapps.metro,我使用过metro Mahapps弹出按钮,如下所示: <Grid> <Controls:FlyoutsControl> <Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200"> <!-- Your custom content here --> </C
<Grid>
<Controls:FlyoutsControl>
<Controls:Flyout IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
<!-- Your custom content here -->
</Controls:Flyout>
</Controls:FlyoutsControl>
</Grid>
它会禁用一切,甚至它本身——我不能关闭它,也不能关闭我的应用程序。
我做错什么了吗?弹出型按钮容器必须位于
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>