Help with AutoCompleteBox Styling #18972
Unanswered
BrunoDenisov
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm trying to style my AutoCompleteBox but I'm running into issues with it.
Here is a example of mt TextBox:

(As you can see when it's focused and active the BorderBrush is a red color
This is how my current AutoCompleteBox looks:
_A Tiny note, I did make a custom control based of the AutoCompleteTextBox that when the control gets focus it automatically opens the drop down menu since I use some pre-fetched values form my database.
Above is just an example of the Class, very basic
Below is a image how my current AutoCompleteBox looks:

This is how I've attempted to style it with a control theme in a global style axaml file so I can also incorporate themes into my app
Above is to show that I did manage to change the Foreground property but no matter whatever I try, I just can't seem to get the BorderBrush property changed
Any advice is appreciated and in advance big thanks for any help
Beta Was this translation helpful? Give feedback.
All reactions