We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Combobox Editing

Thread ID:





89787 Sep 7,2009 06:57 AM UTC Sep 8,2009 11:24 AM UTC WinForms 2
Tags: Tools
Asked On September 7, 2009 06:57 AM UTC

Hello, everyone

I'd like to know, how to change the background color of the little upside down arrow of any combobox available.

Thanks in advance,

Mano J [Syncfusion]
Replied On September 8, 2009 10:30 AM UTC

Hi Allon,

You can handle comboboxAdv's Paint event and change the arrow color as follows:

comboBoxAdv1.Paint += new PaintEventHandler(comboBoxAdv1_Paint);

void comboBoxAdv1_Paint(object sender, PaintEventArgs e)
Graphics grph = e.Graphics;

Point[] curvePoints = DropDownButton.GetComboDropDownBorderBounds(this.comboBoxAdv1.DropDownButton.Bounds);

e.Graphics.DrawPolygon(Pens.Blue, curvePoints);
e.Graphics.FillPolygon(Brushes.Blue, curvePoints);


Replied On September 8, 2009 11:24 AM UTC

Thanks a lot, Mano.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon