This project has moved. For the latest updates, please go here.

CollectionControlDialog

Derives from Window

Provides a dialog containing a collection editor.

collectioncontroldialog.jpg

Properties

Property Description
CollectionControl Gets the CollectionControl from the CollectionControlDialog to let the user access the CollectionControl's callbacks and events.
IsReadOnly Gets or sets if the data in the CollectionControl can be modified.
ItemsSource Gets or sets a list used to generate the content of the CollectionControl.
ItemsSourceType Gets or sets the type of ItemsSource.
NewItemTypes Gets or sets a list of custom item types that appear in the Add ListBox.


Support this project, check out the Plus Edition.
---

Last edited Jun 1, 2016 at 2:48 PM by dlafontaine, version 10

Comments

xbuster Oct 11, 2015 at 8:29 AM 
If I do changes in properties (property grid) of existing type entry the changes are saved no matter if I click "OK" or "Cancel" buttons! Button "Cancel" should rollback ALL changes! How can I do it?

openshac Jan 7, 2014 at 2:45 PM 
The Person class in this case must have a parameterless constructor, otherwise it throws a MissingMethodException (No parameterless constructor defined for this object) when you call the ShowDialog() method.

This makes the control quite restrictive.