WPF: RadPropertyGrid event PropertyValueChanged Event support

4 posts, 0 answers
  1. Dharmavaram
    Dharmavaram avatar
    73 posts
    Member since:
    Jun 2013

    Posted 20 Sep Link to this post

    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.

  2. Stefan X1
    Admin
    Stefan X1 avatar
    523 posts

    Posted 21 Sep Link to this post

    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.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Dharmavaram
    Dharmavaram avatar
    73 posts
    Member since:
    Jun 2013

    Posted 22 Sep in reply to Stefan X1 Link to this post

    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.

  5. Stefan X1
    Admin
    Stefan X1 avatar
    523 posts

    Posted 27 Sep Link to this post

    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.
Back to Top