Metro模态弹出按钮会自行禁用

问题描述 投票:0回答:1

我使用过地铁麻将飞车这样:

<Grid>
    <Controls:FlyoutsControl>
        <Controls:Flyout  IsModal="True" IsOpen="True" Header="Flyout" Position="Right" Width="200">
            <!-- Your custom content here -->
        </Controls:Flyout>
    </Controls:FlyoutsControl>
</Grid>

并且它禁用所有功能,甚至禁用它本身-我无法关闭它,也无法关闭我的应用程序。我做错什么了吗?

xaml mahapps.metro
1个回答
0
投票
<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>
© www.soinside.com 2019 - 2024. All rights reserved.