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.

Event Handler for PropertyEditor property Change

Thread ID:





63710 Jul 8,2007 08:58 PM Jul 12,2007 11:15 PM Windows Forms 2
Tags: Diagram
Asked On July 8, 2007 08:58 PM

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 10:47 AM

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 12, 2007 11:15 PM

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.

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.