Is it possible to generate a PropertyGrid on the fly by binding it to an XML string?
If not then what would be a good solution here?
I have a property that return an XML string with attributes and values, I need the attributes to be the property display names and values the property values. Maybe parsing the XML and creating PropertyDefinitions? I'd just like to avoid parsing an XML if PropertyGrid has some way doing it.
Thank you for the help!
If not then what would be a good solution here?
I have a property that return an XML string with attributes and values, I need the attributes to be the property display names and values the property values. Maybe parsing the XML and creating PropertyDefinitions? I'd just like to avoid parsing an XML if PropertyGrid has some way doing it.
Thank you for the help!
5 Answers, 1 is accepted
0
Hello,
I will need a some more time to prepare a sample project. I will contact you as soon as I am ready with it.
Regards,
Ivan Ivanov
Telerik
I will need a some more time to prepare a sample project. I will contact you as soon as I am ready with it.
Regards,
Ivan Ivanov
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
![](/forums/images/avatarimages/default.gif)
arto
Top achievements
Rank 1
answered on 09 Jul 2014, 07:22 AM
Thanks Ivan, looking forward to it.
0
Hello,
Please excuse me for the delayed reply. I am attaching a sample project that illustrates binding to XML data source.
Regards,
Ivan Ivanov
Telerik
Please excuse me for the delayed reply. I am attaching a sample project that illustrates binding to XML data source.
Regards,
Ivan Ivanov
Telerik
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
0
![](/forums/images/avatarimages/89cd17e3-a61c-4824-8270-284f9b03c55fjoel%20palmer-face.jpg)
Joel Palmer
Top achievements
Rank 2
answered on 18 Jan 2017, 05:55 PM
Can you share some documentation or at least elaborate on this solution? Is it always the First Element is the property name and the Second Element the property value? Also, how do I define a pick list field? I have an Enum whose values need to be presented in a drop-down list.
0
Hi Joel,
I have previously replied you in the XmlDocument PropertyGrid Binding forum thread you opened regarding this topic. In order to keep the communication consistent, I would kindly ask you to continue any further discussion regarding this topic in it.
Thank you in advance for your cooperation.
Regards,
Stefan X1
Telerik by Progress
I have previously replied you in the XmlDocument PropertyGrid Binding forum thread you opened regarding this topic. In order to keep the communication consistent, I would kindly ask you to continue any further discussion regarding this topic in it.
Thank you in advance for your cooperation.
Regards,
Stefan X1
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.