public void ApplyTo(IHtmlNode target) { var hierarchyCell = new HtmlTag("th") .AddClass(UIPrimitives.Header, UIPrimitives.Grid.HierarchyCell); target.Children.Insert(0, hierarchyCell); }