Skip to content

How do i remove the focus border color of a textbox? #5739

Answered by maxkatz6
Zilkode asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@Zilkode
Comment options

@ClementeGao
Comment options

@timunie
Comment options

Answer selected by Zilkode
Comment options

You must be logged in to vote
1 reply
@stevemonaco
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants