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.
Unfortunately, activation email could not send to your email. Please try again.

CategoryEditor by code for PropertyGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

126094 Sep 23,2016 05:02 AM Sep 27,2016 08:58 AM WPF 1
loading
Tags: PropertyGrid
Yi Luo
Asked On September 23, 2016 05:02 AM

Hi,
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 08:58 AM

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. 
 
 
Regards, 
Vinothini.R 


CONFIRMATION

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.

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.

;