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. Image for the cookie policy date
close icon

Custom collections in propertygrid

Hi,
I want to show a combobox for some string properties instead of  textbox.
How can i achieve this ?

Thanks


5 Replies

AD Administrator Syncfusion Team September 6, 2012 01:56 PM UTC

Hi Osman,

Sorry for the delay in getting back to you.

We have created a sample for your reference and kindly download the attached sample.

In this sample, we have created a Person object. We have added the Name property of type string to the custom object Person and we have used CustomEditor to display ComboBox for this string property.

For further details about creating CustomEditor in Property Grid, please refer the below link,

http://help.syncfusion.com/UG/User%20Interface/WPF/Tools/default.htm#!documents/33042customeditorsup.htm

Please let us know if you have any queries.

Regards,

Narendran.M



Custom Editor_18e3d81a.zip


SM Sami Mirza October 5, 2015 12:44 AM UTC

Hello,
I was hoping to find an example of SfTextBoxExt control in PropertyGrid control as a CustomEditor.

Looks like the attached zip file is no longer available.

Sami


SM Sugapriya Mariappan Syncfusion Team October 5, 2015 12:45 PM UTC

Hi Sami,

We have prepared a sample which tries to meet your requirement.In the sample we have used CustomEditor to display SfTextBoxExt for the String property

Please download the sample from the below link
Sample link:CustomEditorPropertyGridSample

Please let us know if you neeed any other assistance

Regards,
M.Sugapriya


SM Sami Mirza October 9, 2015 04:02 AM UTC

That's awesome! thanks for your help.

Sami


SM Sugapriya Mariappan Syncfusion Team October 9, 2015 08:49 AM UTC

Hi Sami,

Thank you for your update

Please let us know if you need any other assistance

Regards,
M.Sugapriya

Loader.
Live Chat Icon For mobile
Up arrow icon