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

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

1 Answer 70 Views
PropertyGrid
This is a migrated thread and some comments may be shown as answers.
Tayyaba
Top achievements
Rank 1
Tayyaba asked on 12 Apr 2017, 07:02 AM

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.

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 14 Apr 2017, 08:07 AM
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.

Regards,
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 you to write beautiful native mobile apps using a single shared C# codebase.
Tags
PropertyGrid
Asked by
Tayyaba
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or