Can the TextBox portion of a ComboBox be made resizeable on all sides?
I've done this with the TextBox (shown below). I thought the ComboBox was a composite control with a TextBox & ListBox, so I assumed it could be extended to reveal the AutoSize property. But after checking the Reference Source for the ComboBox, it seems I was incorrect. It seems to be scratch-built control, and I am uncertain how to do it.
Also, now that I've pasted that link to the source, I realized I don't know what version of .Net that is. I can't find any indication of the version on that page.
This project is VB .Net Framework 4.7.2, but I will gladly accept any comments & answers for both C# and VB, possibly even other versions of .Net if I can make it work.
Imports System.ComponentModel
Public Class TextBoxSizeable
Inherits TextBox
<Browsable(True)>
<EditorBrowsable(EditorBrowsableState.Always)>
<DesignerSerializationVisibility(DesignerSerializationVisibility.Visible)>
Public Overrides Property AutoSize() As Boolean
Get
Return MyBase.AutoSize
End Get
Set(ByVal value As Boolean)
MyBase.AutoSize = value
End Set
End Property
End Class
EDIT:
This reason for this is cosmetic; so the ComboBox matches the height of other controls on the form, such as Buttons and TextBoxes.

ComboBoxis a composite control but not at the .NET level, i.e. it is not a .NET control that contains other .NET controls. It is a .NET control that contains multiple Win32 controls. There is a low-level edit control in there, not a .NETTextBoxcontrol.