White ugly border

Eduardo Gomez 3,416 Reputation points
2022-06-30T05:54:26.87+00:00

216365-image.png

Everytime I start my UWP I see this ugly white border over the button.

The buttn seems to be hover by default

I already tried to put BorderBrush={x:null} or transparent and border thickness to 0 but nothing

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

Accepted answer
  1. Nico Zhu (Shanghai Wicresoft Co,.Ltd.) 12,851 Reputation points
    2022-06-30T07:50:01.607+00:00

    Hello,
    Welcome to Microsoft Q&A!

    It looks system focus visual border, you could try to set above element UseSystemFocusVisuals ="False" to disable this behavior.

    Thank you.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    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 additional answers

Sort by: Most helpful