
Hi,
I am using Property grid control and binding it through the xml file by writing a class to deserialize the xml data.
This class binds the data with the property grid clearly.
Now, to categorize the items in the property grid i have to either specify the Category attribute in the class with each property item or i have to specify it in XAML code.
However, I have multiple xml file to bind with property grid by selecting at run time.
and it also has the category element in it. LikeNow, I was looking to the feature in property grid that will automatically take the categories from the xml file and display items in the categorize form without specifying the category in XAML or code behind.
Can you please suggest me the way to have the above requirement.
Hope I was able to explain my problem.
Thanks
Anurodh
I am using Property grid control and binding it through the xml file by writing a class to deserialize the xml data.
This class binds the data with the property grid clearly.
Now, to categorize the items in the property grid i have to either specify the Category attribute in the class with each property item or i have to specify it in XAML code.
However, I have multiple xml file to bind with property grid by selecting at run time.
and it also has the category element in it. Like
<Categories>
<Category1>
<Item1 />
<Item2 />
</Category1>
<Category2>
<Item1 />
<Item2 />
</Category2>
<Category3>
<Item1 />
<Item2 />
</Category3>
</Categories>
Can you please suggest me the way to have the above requirement.
Hope I was able to explain my problem.
Thanks
Anurodh