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.

String array

Thread ID:

Created:

Updated:

Platform:

Replies:

124672 Jun 21,2016 03:50 PM Jun 29,2016 03:11 AM WPF 7
loading
Tags: PropertyGrid
Alex
Asked On June 21, 2016 03:50 PM

Hello! Could you help me to show and edit a string array in the property grid?

Sugapriya Mariappan [Syncfusion]
Replied On June 22, 2016 06:13 AM

Hi Alex,

Thank you for contacting Syncfusion Support.

We have prepared a sample which tries to meet your requirement. In this sample we have used Custom Editor to display String Collection in the AutoComplete control.

Sample:PropertyGridSample

Regards,
M.Sugapriya


Alex
Replied On June 22, 2016 01:37 PM

Hi! Thanks! But I want to edit this string array in a separate window. I think I need to change AutoComplete control to something else, don't I?

Priyanga Balasubramaniam [Syncfusion]
Replied On June 23, 2016 08:33 AM

Hi Alex,

We have analyzed your requirement. We can show the collection by bind to any ItemsControl using Custom Editor, but we cannot populate the array values to separate editors in our PropertyGrid control, since it displays only the properties of the selected object.

Regards,
Priyanga B

Alex
Replied On June 23, 2016 01:28 PM

How can I add elements to this array in that case?

Sugapriya Mariappan [Syncfusion]
Replied On June 24, 2016 08:19 AM

Hi Alex,

As we have already mentioned in our previous update, we cannot populate collection values to separate editors. To meet your requirement of editing the item in the collection, we have prepared a work around sample. In this sample we have used TreeViewAdv control as CustomEditor to display the collection. Here you can edit the Header of the selected item by clicking it.

Sample:PropertyGridSample

Regards,
M.Sugapriya

Alex
Replied On June 28, 2016 03:02 PM

Ok, Thanks!

Sugapriya Mariappan [Syncfusion]
Replied On June 29, 2016 03:11 AM

Hi Alex, 

Thank you for your update. 

Please let us know if you need any other assistance. 

Regards,
M.Sugapriya
 
  
  


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.

;