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

CollectionControl

Derives from Control

Provides a user interface that can edit types of collections.

collectioneditor.jpg

Properties

Property Description
IsReadOnly Gets or sets if the data in the CollectionControl can be modified.
Items Gets or sets the collection used to generate the content of the CollectionControl.
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.
PropertyGrid Gets the PropertyGrid associated with the CollectionControl. Users will be able to be notifyed on a PropertyGrid.PropertyValueChanged event.
SelectedItem Gets or sets the currently selected item.

Events

Event Description
ItemAdded Raised when the "Add" button is pressed to add an item to the ListBox and the adding is done.
ItemAdding Raised when the "Add" button is pressed to add an item to the ListBox and the adding is starting.
ItemDeleted Raised when the "X" button is pressed to remove an item from the ListBox and the removing is done.
ItemDeleting Raised when the "X" button is pressed to remove an item from the ListBox and the removing is starting.


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

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

Comments

BoucherS Oct 21, 2014 at 12:46 PM 
Hi, Please use a discussion tab. Your discussion has been copied here : https://wpftoolkit.codeplex.com/discussions/570336

DeepuJo Oct 21, 2014 at 10:11 AM 
hi..
is it possible to add combo box to property window ?
like
Gender : Male/Female (in combo box )