MenuFlyoutItem binding not working when inside MenuFlyoutSubItem #308

Closed
R74NN opened this Issue Mar 26, 2016 · 1 comment

Projects

None yet

2 participants

@R74NN
R74NN commented Mar 26, 2016

Hello,

In this XAML the binding is not working and "ShowScreensSettings" is never called. If I move the "handler", for example, to "Configure" item, the VM method is called successfully.

<AppBarButton.Flyout>
  <MenuFlyout Placement="Top">
    <ToggleMenuFlyoutItem Text="Unlock"/>
    <MenuFlyoutItem Text="Configure"/>
    <MenuFlyoutSeparator/>
    <MenuFlyoutSubItem Text="Presets">
      <MenuFlyoutItem Text="Preset 1"/>
      <MenuFlyoutSeparator/>
        <MenuFlyoutItem Text="Settings" x:Name="ShowScreensSettings"/>
    </MenuFlyoutSubItem>
  </MenuFlyout>
</AppBarButton.Flyout>

Thanks.

@R74NN R74NN changed the title from MenuFlyoutItem Binding not Working when inside MenuFlyoutSubItem to MenuFlyoutItem binding not working when inside MenuFlyoutSubItem Mar 26, 2016
@nigel-sampson nigel-sampson added the bug label Mar 29, 2016
@nigel-sampson nigel-sampson added this to the v3.0.1 milestone Mar 29, 2016
@nigel-sampson
Contributor

Thanks, I think I know the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment