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.
Unfortunately, activation email could not send to your email. Please try again.

how to find a control in diagram view

Thread ID:

Created:

Updated:

Platform:

Replies:

98456 Mar 1,2011 06:05 AM Mar 3,2011 05:08 AM WPF 1
loading
Tags: Diagram
trinadh
Asked On March 1, 2011 06:05 AM

hi


how can i find a shap or connector ID in diagram view?


please help


Maria Amal Raj T [Syncfusion]
Replied On March 3, 2011 05:08 AM

Hi,

Thanks for your interest on Syncfusion Products.

Nodes and Connection are added using Nodes and Connections collection from DiagramModel, Each Node and LineConnector has a property named ‘ID’. DiagramModel can be referred through DiagramControl’s Model property.

To identify a particular Node or Connection using ID, please use the following code snippet.

foreach(Node n in diagramModel.Nodes)
{
If(n.ID == nodeId)
{

}
}

Please let us know if you have any further queries.

Regards,
Maria Amal Raj T,
Diagram WPF & Silverlight Team,
Syncfusion - Chennai.


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.

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.

;