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

Notify of OnPropertyChanged inside a subclassed symbol

Thread ID:





70895 Jan 8,2008 06:55 AM UTC Jan 23,2008 11:35 AM UTC WinForms 3
Tags: Diagram
Asked On January 8, 2008 06:55 AM UTC

I have a symbol that derives from Group

To know, inside the symbol class, when one of my properties is changing, in a previous version of Sync I used to subscribe to EventSink.PropertyChanged, however, EventSink is now null.

Further, the OnPropertyChanged is not virtual, so I can't override it.

How, inside the class itself (without access to the diagram on which it sits) do I get notified of property changes?

Jisha Joy [Syncfusion]
Replied On January 9, 2008 07:43 AM UTC

Hi ERobishaw,

Thank you for posting query to us.

Please refer the following link in the online documentation that discusses the PropertyChanged events and let me know if this helps.
If I misunderstood your requirement could you please explain in detail your exact requirements?
Kindly let me know if you have any questions.

Replied On January 15, 2008 08:22 PM UTC

No, you missed the point:

inside class of type symbol (or group), I want to know about property changes.

class MySymbol:Group
//what event do I subscribe to HERE or what do I override inside this class, that will allow me (MySymbol) to know that some of its base properties have changed, like Size, Location, etc...

//In Version 4x it was:
EventSink.PropertyChanged +=new PropertyChangedEventHandler(OnPropertyChanged);


Melba Winshia [Syncfusion]
Replied On January 23, 2008 11:35 AM UTC

Hi ERobishaw,

I regret for the delayed response.

Our latest version (from v5.1) of Diagram is completely a new version and it has been fully refactored. These are mainly to make the control more stable, reliable and easy to use.

1. The PropertyEventArgs has been modified and separated into PropertyChangingEventArgs and PropertyChangedEventArgs classes.
You can find all the EventArgs classes in the Diagram.Base\Src\Services\_delegates.cs file.
2. The NodeCollectionEventArgs and ConnectionCollectionEventArgs has been moved and merged into a single class called "CollectionExEventArgs" class.
3. LinkPort class has been modified and please use EnpPoint,HeadEndPoint or TailEndPoint classes instead. You can find these classes under Base\Diagram.Base\Src\Entities\AnchoringPrimitives folder.
4. LinkFactory and NodeTracker classes are no more available with our latest verison of Diagram.

Also I have created a migration document that has the details about how to migrate the 4.4 version of samples to latest version:


Please try this and let me know if this helps.



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.

Please sign in to access our forum

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