-
I have created a UserControl to create rounded corner effect:
However i am unable to remove the Textbox's bluish border when focusing the textbox.
I also tried both of these:
I tried those commands: Nothing helps. |
Beta Was this translation helpful? Give feedback.
Answered by
maxkatz6
Apr 8, 2021
Replies: 1 comment 1 reply
-
For Fluent theme correct selector will be "TextBox:focus /template/ Border#PART_BorderElement" |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
Zilkode
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Fluent theme correct selector will be "TextBox:focus /template/ Border#PART_BorderElement"
See https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Themes.Fluent/Controls/TextBox.xaml#L136