The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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).
DMDinesh M Syncfusion Team 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
DMDomenico MozzoneFebruary 3, 2010 09:11 AM UTC
Thank you Dinesh Best Regards Domenico
DMDinesh M Syncfusion Team February 3, 2010 06:04 PM UTC