Inheritance: LayoutFarm.CustomWidgets.CustomRenderBox
 public override RenderElement GetPrimaryRenderElement(RootGraphic rootgfx)
 {
     if (renderShape == null)
     {
         renderShape = new GraphicShapeRenderElement(rootgfx, this.Width, this.Height);
         renderShape.SetLocation(this.Left, this.Top);
         renderShape.SetController(this);
         this.SetPrimaryRenderElement(renderShape);
     }
     return this.renderShape;
 }
Example #2
0
 public override RenderElement GetPrimaryRenderElement(RootGraphic rootgfx)
 {
     if (renderShape == null)
     {
         renderShape = new GraphicShapeRenderElement(rootgfx, this.Width, this.Height);
         renderShape.SetLocation(this.Left, this.Top);
         renderShape.SetController(this);
         this.SetPrimaryRenderElement(renderShape);
     }
     return(this.renderShape);
 }