We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

CategoryEditor by code for PropertyGrid

Thread ID:





126094 Sep 23,2016 09:02 AM UTC Sep 27,2016 12:58 PM UTC WPF 1
Tags: PropertyGrid
Yi Luo
Asked On September 23, 2016 09:02 AM UTC

I have checked the CategoryEditor example which the categoryEditor is formulated in Xaml. Can you please provide another example showing how to build a category editor by code behind?

Let's say the categoryEditor contains a grid which further contains a comboBox and a textbox in two rows. The editor will receive all the properties from a category which all the values are double. The C# code behind will first build a dictionary where key is property name and value is property value. Then the textbox will display the property value when a property is selected via the comboBox.

Thanks alot in advance!

Vinothini [Syncfusion]
Replied On September 27, 2016 12:58 PM UTC

Hi Yi Luo, 
Thank you for contacting Syncfusion support. 
We have prepared a sample with the Category editor which receives properties from a class and display it in a ComboBox and TextBox. We have done the Category grid customization in Code Behind. Please download the sample from the below link and let us know whether it meets your requirement. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon