protected virtual void BuildChildrenRenderElement(RenderElement parent)
{
parent.HasSpecificHeight = this.HasSpecificHeight;
parent.HasSpecificWidth = this.HasSpecificWidth;
parent.SetController(this);
parent.SetVisible(this.Visible);
#if DEBUG
//if (dbugBreakMe)
//{
// renderE.dbugBreak = true;
//}
#endif
parent.SetLocation(this.Left, this.Top);
if (parent is CustomRenderBox)
{
((CustomRenderBox)parent).BackColor = backColor;
}
parent.HasSpecificSize = true;
parent.SetViewport(this.ViewportX, this.ViewportY);
//------------------------------------------------
//create visual layer
int childCount = this.ChildCount;
for (int m = 0; m < childCount; ++m)
{
parent.AddChild(this.GetChild(m));
}
//set primary render element
//---------------------------------
}
public override RenderElement GetPrimaryRenderElement(RootGraphic rootgfx)