Updated CollectionEditor (markdown)

master
DianeXceed 9 years ago
parent
commit
a0c2df1ee8
  1. 36
      CollectionEditor.md

36
CollectionEditor.md

@ -3,23 +3,25 @@ Derives from Control
Provides a user interface that can edit types of collections. Provides a user interface that can edit types of collections.
![](CollectionEditor_collectioneditor.jpg) [[CollectionEditor_collectioneditor.jpg]]
## Properties ### Properties
|| Property || Description | 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. | 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. | Items | Gets or sets the collection used to generate the content of the CollectionControl. |
| ItemsSourceType | Gets or sets the type of ItemsSource. | ItemsSource | Gets or sets a list used to generate the content of the CollectionControl. |
| NewItemTypes | Gets or sets a list of custom item types that appear in the Add ListBox. | ItemsSourceType | Gets or sets the type of ItemsSource. |
| SelectedItem | Gets or sets the currently selected item. | NewItemTypes | Gets or sets a list of custom item types that appear in the Add ListBox. |
| SelectedItem | Gets or sets the currently selected item. |
## Events ### Events
|| Event || Description | 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. | ItemAdded | Raised when the "Add" button is pressed to add an item to the ListBox and the adding is done. |
| ItemDeleted | Raised when the "X" button is pressed to remove an item from the ListBox and the removing is done. | ItemAdding | Raised when the "Add" button is pressed to add an item to the ListBox and the adding is starting. |
| ItemDeleting | Raised when the "X" button is pressed to remove an item from the ListBox and the removing 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](http://wpftoolkit.com).** ---
--- **Support this project, check out the [Plus Edition](http://wpftoolkit.com).**
Loading…
Cancel
Save