uwp's ToggleSwitch is unable to respond to tapped event

华 张 156 Reputation points
2023-01-13T07:22:57.8566667+00:00

I find a bug in UWP when using toggleswitch, The code is as follows:

User's image

Universal Windows Platform (UWP)
{count} votes

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Junjie Zhu - MSFT 19,931 Reputation points Microsoft Vendor
    2023-01-21T03:53:39.1633333+00:00

    Hello Hua,

    Welcome to Microsoft Q&A!

    There is a bug report for the same in Github, you can refer to it and follow it.

    ToggleSwitch doesn't issue Tapped event · Issue #7698 · microsoft/microsoft-ui-xaml (github.com)

    You can also submit this issue in the Feedback Hub , so you can have direct updates to the status of the issue.

    You could find the Feedback Hub in the Start Menu.

    Please select Developer Platform->API Feedback as the category when you submit your request.

    The related team will check the request.

    Thank you.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.