GetTopRootCssBox() public method

public GetTopRootCssBox ( ) : CssBox
return CssBox
Esempio n. 1
0
 static void InvalidateCssBox(CssBox cssbox)
 {
     var rootGfx = (RootGraphic)cssbox.RootGfx;
     var rootCssBox = cssbox.GetTopRootCssBox() as RenderElementBridgeCssBox;
     if (rootCssBox != null)
     {
         //----------------------------------------
         //TODO: fix here
         //we not need to update entire HtmlBox
         //we should update only invalidate area
         //----------------------------------------
         rootCssBox.ContainerElement.InvalidateGraphics();
     }
 }