Handle css DOM tree generation from raw html and stylesheet.
示例#1
0
 public LayoutFarm.Composers.RenderTreeBuilder GetRenderTreeBuilder()
 {
     if (this.renderTreeBuilder == null)
     {
         renderTreeBuilder = new Composers.RenderTreeBuilder(this);
         this.renderTreeBuilder.RequestStyleSheet += (e) =>
         {
             if (requestStyleSheet != null)
             {
                 requestStyleSheet(this, e);
             }
         };
     }
     return(renderTreeBuilder);
 }
示例#2
0
 public LayoutFarm.Composers.RenderTreeBuilder GetRenderTreeBuilder()
 {
     if (this.renderTreeBuilder == null)
     {
         renderTreeBuilder = new Composers.RenderTreeBuilder(this);
         this.renderTreeBuilder.RequestStyleSheet += (e) =>
         {
             if (requestStyleSheet != null)
             {
                 requestStyleSheet(this, e);
             }
         };
     }
     return renderTreeBuilder;
 }