Interface ILayoutGroup
Interface definition for a group of layout elements that can act as a container.
public interface ILayoutGroup : ILayoutContainer, ILayoutElement, INotifyPropertyChanged, INotifyPropertyChanging
- Inherited Members
- Extension Methods
Methods
IndexOfChild(ILayoutElement)
Gets The zero-based index of the item within the children collection, if found; otherwise, -1.
int IndexOfChild(ILayoutElement element)
Parameters
elementILayoutElementThe element whos index should be returned.
Returns
- int
The zero based index of the child or -1.
InsertChildAt(int, ILayoutElement)
Inserts a new child element at the zero based index position as indicated by the parameters.
void InsertChildAt(int index, ILayoutElement element)
Parameters
indexintThe index position for inserting the new element.
elementILayoutElementThe element to be inserted.
RemoveChildAt(int)
Removes a child element at the zero based index position.
void RemoveChildAt(int index)
Parameters
indexintThe index position of the element to be removed.
ReplaceChildAt(int, ILayoutElement)
Replaces a child element with a new instance at the indicated zero based index position.
void ReplaceChildAt(int index, ILayoutElement element)
Parameters
indexintThe index position of the element to be replaced.
elementILayoutElementThe new element to be replaced over an existing element.
Events
ChildrenCollectionChanged
Notifies subscribers when the collection of children has changed.
event EventHandler ChildrenCollectionChanged