/// <summary>
 /// Used to insert the child element to first position.
 /// </summary>
 /// <param name="tag">The tag.</param>
 public void InsertFirst(HtmlTag tag)
 {
     ChildElements.Insert(0, tag);
 }
 /// <summary>
 /// Used to insert the child element to specified position.
 /// </summary>
 /// <param name="index">The index.</param>
 /// <param name="tag">The tag.</param>
 public void InsertAt(int index, HtmlTag tag)
 {
     ChildElements.Insert(index, tag);
 }
Example #3
0
 public void MoveToFront(IGuiElement element)
 {
     ChildElements.Remove(element);
     ChildElements.Insert(0, element);
 }