Collection property

  • Thread starter Thread starter Roman
  • Start date Start date
R

Roman

Hi everybody!
I am trying to create a custom component with collection property similar to
Listview ColumnHeader.
When edited in collection editor it needs to have several
elements(properties) on the right pane per each element(property) on the
left.
How can this be done?

Thanks in advance for any suggestions,
Roman
 
You usually need create your own collection editor (inherits from
CollectionEditor), and define an EditorAttribute on the property you need
the collection editor.
it looks like:
Editor("YourFullClassNameOfTheCollectionEditor,
YourAssemblyName", typeof(UITypeEditor))

Thanks
Lifeng
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top