c# Unable to Auto Size all Combo Box Dropdown Column Widths on Windows Form
I have written the two below methods to auto size the dropdown widths of all the combo boxes on a windows form. However, it doesn’t appear to be hitting any of the combo boxes. When I apply the method ComboBoxDropDownWidth to a single combo box under the form load event it works. To confirm, I also fire ComboBoxAutofitDropDownWidth(this)
under the form load event.
c# Unable to Auto Size all Combo Box Column Widths on Windows Form
I have written the two below methods to auto size the dropdown widths of all the combo boxes on a windows form. However, it doesn’t appear to be hitting any of the combo boxes. When I apply the method ComboBoxDropDownWidth to a single combo box under the form load event it works. To confirm, I also fire ComboBoxAutofitDropDownWidth(this)
under the form load event.