RadioMenuFlyoutItem - Changing the 'dot' icon

Craig Muckleston 161 Reputation points
2020-10-30T09:21:39.857+00:00

I am using the RadioMenuFlyoutItem in my UWP app. I want to change the default 'dot' that appears when it's checked to a tick. I have seen the Icon property, but this just allows me to add another icon net to the dot.

There is no Style template for the RadioMenuFlyoutItem in generic.xaml, so how can I achieve this?

Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points
    2020-10-30T11:38:11.783+00:00

    Hello,

    Welcome to Microsoft Q&A.

    RadioMenuFlyoutItem does not provide properties for setting the check icon.

    However, RadioMenuFlyoutItem belongs to the WinUI project, and its default style definition is not in the generic.xaml provided by the system.

    Here is the default style (RS5):

    RadioMenuFlyoutItem_rs5_themeresources.xaml

    You can copy the corresponding default control template to your project, then modify CheckGlyph to the specified icon, and reference it in RadioMenuFlyoutItem.

    Thanks.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

0 additional answers

Sort by: Most helpful