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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how to invisible selection mark in lineconnector?

Thread ID:

Created:

Updated:

Platform:

Replies:

115812 Feb 7,2014 12:54 PM UTC Feb 17,2014 04:35 AM UTC WinForms 1
loading
Tags: Diagram
jinhong
Asked On February 7, 2014 12:54 PM UTC

Hi,

I'm using diagram control in our project. and I want to invisible selection mark in lineconnector. Is it possible?


Line_f3c83083.zip

Amsath Ali M [Syncfusion]
Replied On February 17, 2014 04:35 AM UTC

Hi Jinhong,

 

Thanks for your interest in Syncfusion products.

 

We suggest you to set the Node.EditStyle’s ‘DefaultHandleEditMode’ property to ‘None’ to disable the selection handle of a node. Please refer the below code snippet.

 

Here is the code:

[C#]

LineConnector lcon = new LineConnector(new PointF(100,100), new PointF(300,100));

            //Disables the selection handler of line connector

            lcon.EditStyle.DefaultHandleEditMode = HandleEditMode.None;

            diagram1.Model.AppendChild(lcon);

 

Please let us know if you have any queries.

 

Regards,

Amsath


CONFIRMATION

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.

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

;