Skip to content

ILayoutGroup

Dirkster99 edited this page Dec 12, 2019 · 2 revisions

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]] Children collection.

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 );

Demo Projects

Controls

Layout Models

Interfaces

Class Designs

Bugs

Manual Tests

Clone this wiki locally