AD
Administrator
Syncfusion Team
June 24, 2005 04:53 PM UTC
This is a Windows Forms issue. If you set a control to be Dock.Fill, it should be the last one you add to the parent control.
In that sample, open up the designer generated code in DropDownUser.cs and change:
this.Controls.Add(this.panel1);
this.Controls.Add(this.checkedListBox1);
to
this.Controls.Add(this.checkedListBox1);
this.Controls.Add(this.panel1);
AD
Administrator
Syncfusion Team
June 24, 2005 06:07 PM UTC
Man I wish I had known that a long time ago. Thanks for the tip! This explains why my other custom control (almost identical) works fine.