Table of Contents

Class CollectionEditor

Namespace
Myra.Graphics2D.UI.Properties
Assembly
Myra.dll

A widget for editing the items in a collection, with UI controls to add, remove, and reorder items.

public class CollectionEditor : Widget, IItemWithId, INotifyAttachedPropertyChanged
Inheritance
CollectionEditor
Implements
Inherited Members

Constructors

CollectionEditor(IList, Type)

Initializes a new instance of the CollectionEditor class.

public CollectionEditor(IList collection, Type type)

Parameters

collection IList

The collection to edit.

type Type

The type of items in the collection.

Methods

SaveChanges()

Saves all changes made in the editor back to the original collection.

public void SaveChanges()