Skip to content
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

Removing black border from button #3477

Closed
woodlandhunter opened this issue Mar 20, 2019 · 0 comments · Fixed by #3487
Closed

Removing black border from button #3477

woodlandhunter opened this issue Mar 20, 2019 · 0 comments · Fixed by #3487
Milestone

Comments

@woodlandhunter
Copy link

I am attempting to remove the black border shown here (it appears to be focus related). I have tried:

  • How do i remove focus black border on button? #1675 (FocusVisualStyle="{x:Null}")
  • Setting BorderBrush="Transparent" in a Style trigger using IsFocused and IsKeyboardFocused
  • Setting BorderThickness="0" directly on the button
  • Looking at ControlsHelper.FocusBorderBrush which doesn't appear to be used for buttons

And none of them seem to get rid of this black border:

image

I hope I'm not overlooking something simple... How can I remove this border?

@punker76 punker76 added this to the 2.0.0 milestone Apr 17, 2019
punker76 added a commit that referenced this issue Apr 17, 2019
…FocusBorderThickness

(GH-3477) Add new attached property FocusBorderThickness
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging a pull request may close this issue.

2 participants