-
Notifications
You must be signed in to change notification settings - Fork 716
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'Radio Button' Style Menu Items #173
Comments
Perhaps a hollow circle/ring for unselected items, and a filled one for selected. |
@mdtauk, thanks for the suggestion, we will add that as a suggestion as design takes a look at this. |
@mdtauk I think the key of how this works in existing patterns is that they're always grouped together in a section of the menu, so the user sees this is clearly a group by that construction. If these items can be placed anywhere though with the same name, a developer isn't bound by that design constraint though and this could lead to messy UX by a developer. I'd almost like to see a ( We Don't Want This ) |
Of course, they would need to be grouped. I would agree it needs to be done in a way where RadioMenuItems have to be placed within a RadioMenuGroup. At present with the Win32 menus, there is no indicator for unchecked items. That would also work with the constraint of placing the items in a group. For that matter, would there also be a case for including an unticked indicator for toggle menu items? |
Testing: @jevansaks docs and samples are ready for review |
The WinUI Team has completed this feature. How-to and API documentation is now live.
Proposal: 'Radio Button' Style Menu Items
Summary
Many applications, including visual studio, allow for the addition of checkboxes in the menu options of their MenuBars. These have been an important part of applications which use MenuBar for a very long time. The XAML MenuBar currently supports checkboxes.
However, another lesser used pattern is radio-button style menu options. This patter presents options that automatically swap selection within their group of items. While this patter is used less frequently, it does find precedent in various UIs and is a customer request.
Below is an example of this usage from the Win10 desktop context menu--

Rationale
Implementing this request will:
Functional Requirements
Detailed Feature Design
We plan to create a RadioMenuFlyoutItem in WinUI that derives from ToggleMenuFlyoutItem
It would have the following additional APIs:
Open Questions
Release Checklists
Prerelease readiness
Stable release readiness
The text was updated successfully, but these errors were encountered: