public override RenderElement GetPrimaryRenderElement(RootGraphic rootgfx)
{
if (!this.HasReadyRenderElement)
{
gridBox = new LayoutFarm.CustomWidgets.GridBox(30, 30);
gridBox.SetLocation(5, 5);
gridBox.BuildGrid(3, 3, CellSizeStyle.UniformCell);
var renderE = base.GetPrimaryRenderElement(rootgfx);
renderE.AddChild(gridBox);
//------------------------------------------------------
renderE.AddChild(boxLeftTop);
renderE.AddChild(boxRightTop);
renderE.AddChild(boxLeftBottom);
renderE.AddChild(boxRightBottom);
//------------------------------------------------------
}
return base.GetPrimaryRenderElement(rootgfx);
}