Class ListEditSource
Base abstract class which implements IListEditSource.
public abstract class ListEditSource : IListEditSource
- Inheritance
-
ListEditSource
- Implements
Properties
- AllowAdd
Gets or sets whether collection editor is allowed to add items.
- AllowApplyData
Gets or sets whether collection editor is allowed to apply data back to the property.
- AllowDelete
Gets or sets whether collection editor is allowed to delete items.
- AllowSubItems
Gets or sets whether collection editor is allowed to add children to the root items.
- Instance
Gets or sets object which property will be edited with the collection editor.
- PropInfo
Gets or sets property will be edited with the collection editor.
- RootItems
Enumerates root items.
Methods
- ApplyData(IEnumerableTree)
Applies data back to the property specified with Instance and PropInfo.
- ApplyDataAsArray<T>(IEnumerableTree)
Applies IEnumerableTree data to the property specified in Instance and PropInfo.
- CloneItem(object)
Creates item clone.
- CreateEditSource(object?, PropertyInfo?)
Creates IListEditSource provider using collection editors registered with RegisterCollectionEditor(Type, string, Type?).
- CreateNewItem()
Creates new item.
- GetChildren(object)
Enumerates children items of the specific item.
- GetItemImageIndex(object)
Gets index of the image associated with the item.
- GetItemTitle(object)
Gets title of the item.
- GetProperties(object)
Gets object which will be shown in the PropertyGrid.