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

PropertyEditor - PropertyValueChanged event is missing?

Thread ID:

Created:

Updated:

Platform:

Replies:

92642 Jan 28,2010 07:11 AM UTC Feb 3,2010 06:04 PM UTC WinForms 3
loading
Tags: Diagram
Domenico Mozzone
Asked On January 28, 2010 07:11 AM UTC

Dear Syncfusion Support,
I'm using the PropertyEdor component, and I need to be notified when a property value changes.
Syncfusion PropertyEditor seems to be derived (or it embeddes) a .NET PropertyGrid, that exposes PropertyValueChanged event.

My questions are:
1. Which is the equivalent event in PropertyEditor?
2. How can I be notified when a value changes, with information about the value changed of course?
3. In particular I need to know when the Chart LogacalSize value has been changed by user in PropertyEditor. In case is not possible to have a PropertyEditor valued event, is there an alternatuve way to know when LocicalSize changes? (a PropertyValueChanged event generated by PropertyEditor is preferred of course).


Looking forward for your king reply

Best Regards

Domenico Mozzone
Sciroidea SpA
Genoa Italy

Dinesh M [Syncfusion]
Replied On February 2, 2010 12:26 PM UTC

Hi Domenico,

Sorry for the delay in getting back to you. I have provided below my answers for the questions that you have asked.

1. We doesn't have any equivalent event in Property Editor, but we can use the following code which will be triggered for most of the properties of the nodes and model.

diagram1.Model.EventSink.PropertyChanged += new Syncfusion.Windows.Forms.Diagram.PropertyChangedEventHandler(EventSink_PropertyChanged);

2. You can get the value being changed using the following code.

void EventSink_PropertyChanged(Syncfusion.Windows.Forms.Diagram.PropertyChangedEventArgs evtArgs)
{
if (evtArgs.PropertyName == "Name")
{
Model mdl = evtArgs.NodeAffected as Model;
}
}

3. We doesn't have the property changed/changing event implementation for the LogicalSize property of the diagram and hence this requirement has been considered as feature request.

Regards,
Dinesh

Domenico Mozzone
Replied On February 3, 2010 09:11 AM UTC

Thank you Dinesh
Best Regards
Domenico

Dinesh M [Syncfusion]
Replied On February 3, 2010 06:04 PM UTC

Hi Domenico,

Thanks for the update.

Regards,
Dinesh

CONFIRMATION

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.

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

;