-
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.
Replies: 2 comments 4 replies
-
For Fluent theme correct selector will be "TextBox:focus /template/ Border#PART_BorderElement" |
Beta Was this translation helpful? Give feedback.
-
or
all can not set border color when focues |
Beta Was this translation helpful? Give feedback.
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