Exemple #1
0
        protected void AddToViewport(HtmlWidgets.HtmlWidgetBase htmlWidget)
        {
            //
            var presentationDomNode = htmlWidget.GetPresentationDomNode(this.groundHtmlDoc);

            this.groundHtmlDoc.BodyElement.AddChild(presentationDomNode);
            //this.groundHtmlDoc.RootNode.AddChild(presentationDomNode);
            //sampleViewport.AddContent(htmlWidget.GetPrimaryUIElement(myHtmlHost));
        }
Exemple #2
0
 protected void AddToViewport(HtmlWidgets.HtmlWidgetBase htmlWidget)
 {
     //
     WebDom.DomElement presentationDomNode = htmlWidget.GetPresentationDomNode((HtmlElement)_groundHtmlDoc.RootNode);
     _groundHtmlDoc.BodyElement.AddChild(presentationDomNode);
 }