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

ComboBox color customization? #460

Open
Kubrix opened this issue Apr 21, 2024 · 0 comments
Open

ComboBox color customization? #460

Kubrix opened this issue Apr 21, 2024 · 0 comments

Comments

@Kubrix
Copy link

Kubrix commented Apr 21, 2024

cbMain.Items.Add(new ListItem("Red", Color.Red));
cbMain.Items.Add(new ListItem("Green", Color.Green));
cbMain.Items.Add(new ListItem("Blue", Color.Blue));
cbMain.Background =  new SolidBrush(Color.Gray);
cbMain.FocusedBackground = new SolidBrush(Color.Yellow);

Expected: Gray background color of list, Yellow background color under selected item

Observed:
image

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

No branches or pull requests

1 participant