G
Guest
Hello
I want to create my own custom ComboBox
I've overriden the OnPaint method and I am able to fill the whole clientrectangle of the combobox with a specific color as shown here
protected override void OnPaint(PaintEventArgs pe
pe.Graphics.FillRectangle(System.Drawing.Brushes.Blue,0,0,Width,Height)
The next thing, I want to achieve is to draw this region around the dropdown arrow. But how can I figure out, how big this region is?
I want to create my own custom ComboBox
I've overriden the OnPaint method and I am able to fill the whole clientrectangle of the combobox with a specific color as shown here
protected override void OnPaint(PaintEventArgs pe
pe.Graphics.FillRectangle(System.Drawing.Brushes.Blue,0,0,Width,Height)
The next thing, I want to achieve is to draw this region around the dropdown arrow. But how can I figure out, how big this region is?