我需要我的ToggleMenuFlyout占据全屏(在我的手机上),但我无法。
有人可以帮助我吗?
我的代码:
AppBarButton x: Name = "FiltersPhone" Icon = "Filter" label = "Names">
<AppBarButton.Flyout>
<MenuFlyout>
<MenuFlyout.MenuFlyoutPresenterStyle>
<Style TargetType = "MenuFlyoutPresenter">
<Setter Property = "Background" Value = "Transparent" />
<Setter Property = "BorderThickness" Value = "0" />
<Setter Property = "Margin" Value = "0,4,0,0" />
</ Style>
</MenuFlyout.MenuFlyoutPresenterStyle>
<ToggleMenuFlyoutItem x: Name = "FlyoutItemDate" Text = "Today" tag = "Date"
IsChecked = "True />
</ MenuFlyout>
</AppBarButton.Flyout>
</ AppBarButton>
由于
答案 0 :(得分:0)
<AppBarButton>
<AppBarButton.Flyout >
<MenuFlyout Placement="Full"></MenuFlyout>
</AppBarButton.Flyout>
</AppBarButton>
祝你好运!