Repository navigation
ComboBox Popup Style #7571
Answered
by
amwx
somethingTacos
asked this question in
Q&A
ComboBox Popup Style
#7571
Answered by
amwx
Feb 10, 2022
Replies: 3 comments 5 replies
|
It seems the properties for the popup border are set directly on the Border with Avalonia/src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml Lines 128 to 132 in 572e91b |
3 replies
Answer selected by
somethingTacos
1 reply
|
It works for me: <Style Selector="ComboBox:dropdownopen /template/ Border#PopupBorder"> </Style> |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



It seems the properties for the popup border are set directly on the Border with
{DynamicResource }. There's a limitation with Avalonia's styling system right now that means these have style priority over everything else, so unfortunately you'll have to re-template the entire ComboBox to achieve what you want:Avalonia/src/Avalonia.Themes.Fluent/Controls/ComboBox.xaml
Lines 128 to 132 in 572e91b