/// <summary>
 /// Removes the specified element.
 /// </summary>
 /// <param name="element">The element.</param>
 public void Remove(StyleElement element)
 {
     if (this.BaseIndexOf(element) >= 0)
     {
         this.BaseRemove(element.Path);
     }
 }
 /// <summary>
 /// Gets an item from the collection with a given index.
 /// </summary>
 /// <param name="element">The element.</param>
 /// <returns></returns>
 public int IndexOf(StyleElement element)
 {
     return(this.BaseIndexOf(element));
 }
 /// <summary>
 /// Adds the specified element.
 /// </summary>
 /// <param name="element">The element.</param>
 public void Add(StyleElement element)
 {
     this.BaseAdd(element);
 }