property ComboBox.ColumnAutoResize as Boolean

Returns or sets a value indicating whether the control will automatically size its visible columns to fit on the control's client area.

TypeDescription
Boolean A boolean expression indicating whether the control will automatically size its visible columns to fit on the control's client area.

By default, the ColumnAutoResize property is False. Use the ColumnAutoResize property to fit all visible columns in the control's client area. Use the Add method to add new columns to the control's Columns collection. Use the Width property to change the column's width. Use the Visible property to hide a column. If the ColumnAutoResize property is True, the control does not display the control's horizontal scroll bar. By default, the control adds scroll bars when required