|114057||Oct 25,2013 06:08 AM||Oct 31,2013 05:15 AM||Windows Forms||1|
Hi Olaf mohr,
Thanks for using Syncfusion products,
We suggest you to set Node.EditStyle’s “ AllowMoveY” property to false to achieve your requirement . Please refer the below code snippet for your reference.
Here is the code:
private void Form1_Load(object sender, EventArgs e)
Syncfusion.Windows.Forms.Diagram.Rectangle rect = new Syncfusion.Windows.Forms.Diagram.Rectangle(100, 200, 100, 70);
// Disable movement along Y axis
rect.EditStyle.AllowMoveY = false;
Please try the below attached sample and let us know if you have nay 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.