This is a migrated thread and some comments may be shown as answers.

WPF: RadPropertyGrid event PropertyValueChanged Event support

3 Answers 349 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Dharmavaram
Top achievements
Rank 1
Dharmavaram asked on 20 Sep 2016, 07:50 AM

Hi,

   Iam not able to see PropertyValueChanged event on RadPropertyGrid control.There is event called ItemChanged,Can I use it instead of PropertyValue changed??

Regards,

Nagasree.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 21 Sep 2016, 12:09 PM
Hi Nagasree,

The ItemChanged event of RadPropertyGrid is raised when the bound item is completely replaced, so it is not suitable for this case. If your business object implements the INotifyPropertyChanged interface, you can fulfill your requirement by subscribing to its PropertyChanged event.

Hope this helps.

Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
0
Dharmavaram
Top achievements
Rank 1
answered on 23 Sep 2016, 04:57 AM

Hi Stefan,

     Yes Property value can be updated in the Property.In my scenario I have to get confirmation from the user and do some validations based on the input.

If I keep that functionality in set it will hit even when I am loading the project.Is there any event which can do the same purpose of PropertyValue Changed event.

Even I have to refresh the PropertyGrid after the Properties changes because I will change Browsable Property false/true based on the inputs. For this type of functionaities I need a common event where after property changes I can do required things.

Regards,

Nagasree.

0
Stefan
Telerik team
answered on 27 Sep 2016, 01:04 PM
Hello Nagasree,

May I ask you to review the Validation Support topic from RadPropertyGrid's online help, as I believe that it corresponds to your requirement?

I hope you find it useful.

Best Regards,
Stefan X1
Telerik by Progress
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
PropertyGrid
Asked by
Dharmavaram
Top achievements
Rank 1
Answers by
Stefan
Telerik team
Dharmavaram
Top achievements
Rank 1
Share this question
or