// ----------------------------------------------------------------------- // // Copyright 2015 MIT Licence. See licence.md for more information. // // ----------------------------------------------------------------------- namespace Perspex.Controls.Generators { using System.Collections.Generic; /// /// Creates containers for tree items and maintains a list of created containers. /// public interface ITreeItemContainerGenerator : IItemContainerGenerator { /// /// Gets all of the generated container controls. /// /// The containers. IEnumerable GetAllContainers(); /// /// Gets the item that is contained by the specified container. /// /// The container. /// The item. object ItemFromContainer(IControl container); /// /// Gets the container for the specified item /// /// The item. /// The container. IControl ContainerFromItem(object item); } }