public IHtmlNode CreatePane(SplitterPane pane) { var paneElement = new HtmlElement("div") .Attributes(pane.HtmlAttributes) .PrependClass(UIPrimitives.Splitter.Pane) .ToggleClass(UIPrimitives.Scrollable, pane.Scrollable); pane.Template.Apply(paneElement); return paneElement; }
public SplitterPaneBuilder(SplitterPane pane, ViewContext viewContext) { this.pane = pane; this.viewContext = viewContext; }