I have a SplitContainer with two panels. When I drag the splitter to resize the two panels, I see a grayish bar when I drag. The panels do not actually redraw until I release the mouse button. How to get panels to update as I drag the separator?
Fwiw, this is achieved in Delphi by setting the "ResizeStyle" of the Splitter control to "rsUpdate".
I tried to put the following code inside the SplitterMoving event without any visible changes.
private void splitCont_SplitterMoving(object sender, SplitterCancelEventArgs e) { splitCont.Invalidate();
source share