- Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Things to consider:
- Accelerator (shortcuts) support
- Leverage existing MenuFlyout if possible
- Provide binding support (ICommand?)
We could start from something like this:
<CommandBar HorizontalAlignment="Center" VerticalAlignment="Center" OverflowButtonVisibility="Auto"> <AppBarButton Content="File"> <AppBarButton.Flyout> <MenuFlyout Placement="Bottom"> <MenuFlyoutSubItem Text="New"> <MenuFlyoutItem Text="Project" /> <MenuFlyoutItem Text="Solution" /> </MenuFlyoutSubItem> </MenuFlyout> </AppBarButton.Flyout> </AppBarButton> <AppBarButton Content="Edit"> <AppBarButton.Flyout> <MenuFlyout Placement="Bottom"> <MenuFlyoutSubItem Text="Go to"> <MenuFlyoutItem Text="Go to project" /> <MenuFlyoutItem Text="Go to line" /> </MenuFlyoutSubItem> <MenuFlyoutSeparator /> <MenuFlyoutItem Text="Undo" Icon="Undo" /> </MenuFlyout> </AppBarButton.Flyout> </AppBarButton> <AppBarButton Content="View" /> </CommandBar>