I have a custom UltraCombo that is composed in a winforms UserControl class.
I have embedded this custom combo in another form (popup dialog) for use. The users have the option to resize the popup dialog.
Is there a way to have the width of the custom combo resize as the user drags the parent popup dialog to expand the size?
I've tried setting several properties related to auto-sizing to no avail.
Hello,
The best way to automatically size a control in Windows Forms to its parent is to use either the Anchor or Dock properties depending on if you want the control to fill the entire container or only have the edges of the control anchored to the edges of the parent. The following resources may help you with this:
Let me know if you have any questions with this matter.