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
 
Back
Top