internal Element(Container parent, Rdl.Engine.ReportElement reportElement, BoxStyle style) { _parentElement = parent; if (_parentElement != null) { _genericRender = _parentElement._genericRender; } _reportElement = reportElement; if (style != null && reportElement != null) { _styleIndex = Render.AddStyle(style); } _toggles = new Toggles(this); }