Hi Lori,
Please derive from the ComboDropDown control and override the DrawBorderAndBackground method as shown below :
public class CustomComboDropDown : ComboDropDown
{
SolidBrush brush = new SolidBrush(Color.White);
public CustomComboDropDown() : base()
{
}
public SolidBrush SelectedColorBrush
{
get
{
return brush;
}
set
{
brush = value;
}
}
protected override void DrawBorderAndBackground(Graphics g, Rectangle rect)
{
base.DrawBorderAndBackground(g, rect);
g.FillRectangle(brush,rect.X+1, rect.Y+1, rect.Width-2, rect.Height-2);
}
}
Please refer to the
sample attached here that illustrates this and let me know if it meets your requirements. Thanks for choosing Syncfusion products.
Regards,
Guru Patwal
Syncfusion, Inc.