ILayoutGroup - wesley7child/OuterPlugin GitHub Wiki
The public ILayoutGroup interface can be used to:
- manipulate/browse the children of the layout object that implements this interface (via ILayoutContainer) as well as
- manipulate/browse the children of the Parent or Root object of the object that implements this interface (via ILayoutElement).
This interface also adds an event to inform listeners when the collection of Children of ILayoutElements has changed and provides additional methods to determine whether
- a given ILayoutElement is part of the children collection (and what its index was),
- and allows index based manipulation (insert, remove, replace) of the
[ILayoutElement](/wesley7child/OuterPlugin/wiki/ILayoutElement) Childrencollection.
The ILayoutGroup interface is implemented directly or in-directly by:
Events
event EventHandler ChildrenCollectionChanged;
Methods
int IndexOfChild( ILayoutElement element );
void InsertChildAt( int index, ILayoutElement element );
void RemoveChildAt( int index );
void ReplaceChildAt( int index, ILayoutElement element );