Windows Develop Bookmark and Share   
 index > Windows Forms General > Controls - dropdowns & datepickers change border color & dropdown arow icon to grey
 

Controls - dropdowns & datepickers change border color & dropdown arow icon to grey

Hi,

Is there a way of changing my dropdown & datepickers borders color to black and dropdown arow icon to grey?


Regards
  • Moved byHarry ZhuMSFTWednesday, October 07, 2009 8:33 AMrelating to control design (From:Visual C# General)
  •  
Ismailc  Tuesday, October 06, 2009 10:32 AM

Hi Ismailc,

From my experience, there is no properties to directly modify the border color and drop down button color of the ComboBox and the DateTimePicker. We need to create our custom control, and draw the border, the drop down button by ourselves.

These are some samples shows how to create custom ComboBox:
http://beta.codeproject.com/KB/combobox/zsepcmb.aspx?display=Print
http://beta.codeproject.com/KB/combobox/CustomComboBox.aspx
http://www.codeproject.com/KB/combobox/CustComboBox.aspx

To create custom DateTimePicker, we can follow the same way. Do not forget to use the MonthCalendar control as the drop down form.

Regards,
Aland Li


Please mark the replies as answers if they help and unmark if they don't. This can be beneficial to other community members reading the thread.
Aland Li  Thursday, October 08, 2009 8:54 AM

You can use google to search for other answers

Custom Search

More Threads

• finding datagridviewcombobox selected value
• WIA2 Automation, Kodak Cameras and Deleting Items.
• How to use SplitContainer properly?
• BUG - Controls Disapear
• Mouse Event Handler
• Why won't the name of the method for my click event change?
• RichTextBox dont load Textfile
• WebBrowser doesn't have a "find" method?
• pritnable rectangle
• School Assignmnet