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
close icon

I'dont want a line that I can move and change

I don't want in any case that my lines could move if it is not in a straight movement. If they could move in other way for me it's not a line, it's other thing.

Always x coordenate up and down in the same place. 

Can you help me?

Attachment: Video_1542282478_7b54c992.zip

2 Replies

BC Blanca Calderon November 15, 2018 12:39 PM UTC

I found this:

LineConnector line = new LineConnector(new PointF(100, 100), new PointF(400, 100));

//By setting false AllowMoveY for both HeadEndPoint and TailEndPoint it will draw a straight line. 

line.HeadEndPoint.AllowMoveY = false;
line.TailEndPoint.AllowMoveY = false;


But I want that a line (every line that I use) ALWAYS has allowmoveY disabled by default. How can I do it?



RT Ramya Thirugnanam Syncfusion Team November 16, 2018 06:10 AM UTC

Hi Blanca, 
 
Requirement : Disable end point editing for all the line connector in application. 
 
We have created a simple sample to achieve your requirement. Please refer to the sample from the below link. 
 
Sample Link:
Lines-EndDragging
 
 
 
Regards, 
Ramya T 


Loader.
Live Chat Icon For mobile
Up arrow icon