Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the background color of a ComboBox dropdown box? #17582

Open
tangxiaoqi-tangxiao opened this issue Nov 21, 2024 · 0 comments
Open
Labels

Comments

@tangxiaoqi-tangxiao
Copy link

Is your feature request related to a problem? Please describe.

image

    <Style Selector="ComboBoxItem">
        <Setter Property="Background" Value="#484848" ></Setter>
    </Style>
    <Style Selector="ComboBox">
        <Setter Property="Background" Value="#484848" ></Setter>
    </Style>
    <Style Selector="VirtualizingStackPanel">
        <Setter Property="Background" Value="Red"/>
    </Style>

Describe the solution you'd like

I hope to set it to the color I need.

Describe alternatives you've considered

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants