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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

continuous redraw of both panels in SplitContainerAdv

Thread ID:





59984 Apr 25,2007 06:33 PM UTC Apr 26,2007 09:43 PM UTC WinForms 1
Tags: Tools
Kamen Yotov
Asked On April 25, 2007 06:33 PM UTC

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?

Rajesh C [Syncfusion]
Replied On 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.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon