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

Event Handler for PropertyEditor property Change

Thread ID:





63710 Jul 9,2007 12:58 AM UTC Jul 13,2007 03:15 AM UTC WinForms 2
Tags: Diagram
Asked On July 9, 2007 12:58 AM UTC

Hi Syncfusion Support,

When I was looking at Custom Symbol sample, I just wonder if there is a way to create an Event Handler for the Change Event of the Name property ?

I attempted to use AddValueChanged on props[0] (which is name property, but not sucessful)

if (props[0].SupportsChangeEvents) Console.WriteLine("Supported");
else Console.WriteLine("Not Supported");

props[0].AddValueChanged(this, new EventHandler(ahandler));

The SupportsChangeEvents always return false.

Thanks for your help

Meera Fathima [Syncfusion]
Replied On July 10, 2007 02:47 PM UTC

Hello SlackBear,

I am sorry about this delay in responding.

If your intention is to get notified while the property of node is being modified, you can use this.Diagram.Model.EventSink.PropertyChanged event.

Please refer the below sample code snippet.

this.diagram1.Model.EventSink.PropertyChanged += new PropertyChangedEventHandler(EventSink_PropertyChanged);

void EventSink_PropertyChanged(PropertyChangedEventArgs evtArgs)
if (evtArgs.PropertyName == "Name")

Please let me know whether the above details are helpful to you.

Thanks for using Essential Diagram.
Best Regards,

Syncfusion, Inc.

Replied On July 13, 2007 03:15 AM UTC

Hi Meera,

Thanks heaps, that's exactly what I was looking for.



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