How can I get the size of the DropDown Button
on a ComboBox
?
For anyone unsure of what I mean, it is the Button
usually found on the right hand side of a ComboBox
containing a downward facing arrow. When clicked this expands the DropDown
section.
For further clarification, it is the button in the red circle in the below image.
For such constants you can use GetSystemMetrics API function; C# quick analogue is SystemInformation class:
using System.Windows.Forms;
...
int arrowWidth = SystemInformation.VerticalScrollBarWidth;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With