We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

continuous redraw of both panels in SplitContainerAdv

is there a way to do redraw on drag of the separator as opposed to show the xor line, and redraw once mouse button is released?

1 Reply

RC Rajesh C Syncfusion Team April 26, 2007 09:43 PM UTC

Hi Kamem,

Thank you for using Syncfusion products.

If your intention is moving the separator and also redrew the panels then you change the value of SplitterDistance property in SplitterMoving event . please refer to the following code snippet.

[ C# ]

private void splitContainerAdv1_SplitterMoving(object sender, Syncfusion.Windows.Forms.Tools.Events.SplitterMoveEventArgs e)
{
this.splitContainerAdv1.SplitterDistance = (int)e.OldSplitPosition .X;
}

Please let me know if you have any queries.

Regards,
Rajesh

Loader.
Live Chat Icon For mobile
Up arrow icon