Esempio n. 1
0
 public SplitView(UnitSize splitterSize = null)
 {
     LeftComponent           = Raw(Div(_()));
     SplitterComponent       = Raw(Div(_("tss-splitter")));
     RightComponent          = Raw(Div(_()));
     SplitterComponent.Width = (splitterSize is object && splitterSize.Unit != Unit.Auto && splitterSize.Unit != Unit.Inherit)
                                   ? splitterSize.ToString()
                                   : "8px";
     LeftComponent.Height     = "100%";
     SplitterComponent.Height = "100%";
     RightComponent.Height    = "100%";
     SplitInMiddle();
     InnerElement = Div(_("tss-splitview"), LeftComponent.Render(), SplitterComponent.Render(), RightComponent.Render());
 }
Esempio n. 2
0
 public BackgroundArea(IComponent content)
 {
     _raw       = Raw(content.Render());
     _container = Div(_("tss-background-area"), _raw.Render());
 }