/// <summary>
 /// Helper to deal with casting
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public FrameworkElement Render(TypedElement element)
 {
     return(this.ElementRenderers.Get(element.GetType())(element, this));
 }
 /// <summary>
 /// Helper to deal with casting
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public HtmlTag Render(TypedElement element)
 {
     return(this.ElementRenderers.Get(element.GetType())(element, this));
 }