Skip to content

Easy way for derived control to pick up styling of base control? #19290

Answered by LaurentInSeattle
moon6969 asked this question in Q&A
Discussion options

You must be logged in to vote

I think that StyleKeyOverride is what you are looking for:

Check here:
https://docs.avaloniaui.net/docs/basics/user-interface/styling/styles

https://docs.avaloniaui.net/docs/reference/styles/style-selector-syntax

Disclaimer: I could be wrong, I'm still new with Avalonia...

Replies: 1 comment 1 reply

Comment options

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

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