RadPropertGrid: Multiple object selection isn't setting the value of the properties if their current values are different while using PropertySetMode

2 posts, 0 answers
  1. Tayyaba
    Tayyaba avatar
    21 posts
    Member since:
    Apr 2017

    Posted 12 Apr 2017 Link to this post

    If setting PropertySetMode=Intersection it shows the common properties, in that for example there is a property "Name" of 2 different objects.

    Object1{ Name = "object1" }

    Object2{ Name = "object2" }

    Now if I'll select both of them, Propertygrid will show nothing in the Name textbox, because it returns null at that time, but now if I enter some text in that Name's textbox then it won't set that entered value to Name property of any of these objects, no setter of these objects will be called.

    Kindly can you suggest me a solution for setting value to the objects' properties if their current value isn't same.

  2. Stefan Nenchev
    Stefan Nenchev avatar
    607 posts

    Posted 14 Apr 2017 Link to this post

    Hi Tayyaba,

    I was not able to reproduce the issue you are reporting. Please have a look at the attached sample. Changing the name in the RadPropertyGrid causes the properties on both objects to be set. Please provide more information on the issue so we can try replicating it.

    Stefan Nenchev
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top