How can you get the Windows SplitContainer to resize when th

Posted by MGreenwood on 03-Feb-2011 11:10

I have dropped a System.Windows.Forms.SplitContainer onto my form from my toolbox.

I have dropped an Infragistics.Win.UltraWinGrid.UltraGrid onto each panel of the SplitContainer.

When I run the form it and re-size  the form the container does not resize. I have been looking for a property similar to the UltraGrid "Dock".

All Replies

Posted by MGreenwood on 03-Feb-2011 11:18

Apparently you find the Anchor property in the SplitContainer and change it from the default Top,Left

to Top, Bottom, Left Right .

I don't know why I didn't see this property before posting.

Posted by Admin on 03-Feb-2011 11:41

I have dropped a System.Windows.Forms.SplitContainer onto my form from my toolbox.

I have dropped an Infragistics.Win.UltraWinGrid.UltraGrid onto each panel of the SplitContainer.

When I run the form it and re-size  the form the container does not resize. I have been looking for a property similar to the UltraGrid "Dock".

You might also wanna pay attention to the FixedPanel property that let's you control which of the panes (or both) should resize when the Form grows or shrink.

This thread is closed