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 Notify when diagramming object is duplicated with source

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#

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
6984 07/18/2016 07/18/2016 WinRT SfDiagram
Did you find this information helpful?
Add Comment
You must log in to leave a comment

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.