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

How to Notify when diagramming object is duplicated with source

Platform: UWP |
Control: SfDiagram |
Published Date: July 18, 2016 |
Last Revised Date: July 18, 2016

We have provided support to get the Source for the Duplicated Object in ItemAddedEvent of SfDiagram. We have provided info property as an arguments of ItemAddedEvent. Please refer to the below table for the arguments of ItemAddedEvent. 

 

S.no 

Property 

Description 

1. 

SourceId 

Defines the ID of the Source object of the Duplicate object. 

2. 

SourceCollection 

Defines the Collection of Source object of the Duplicated object. 

3. 

PastedCount 

Defines the Count of Duplicated Object.

 

 GetObject:

 

GetObject is a method of IGrapInfo is used to find the Source object based on ID property. We have provided code example to get the Source Object of duplicate object using GetObject method.

 

Please refer to the code example as below. 

C#

 

 

ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the 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