Esempio n. 1
0
        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;
        }
Esempio n. 2
0
 public SplitterPaneBuilder(SplitterPane pane, ViewContext viewContext)
 {
     this.pane = pane;
     this.viewContext = viewContext;
 }