public BoxElement(BoxElement b, bool copyChildren) : this(b) { if (copyChildren) { foreach (Element e in b._childElements) { Element newElement = null; if (e is BoxElement) { newElement = new BoxElement((BoxElement)e, true); } if (e is TextElement) { newElement = new TextElement((TextElement)e); } if (e is ImageElement) { newElement = new ImageElement((ImageElement)e); } newElement.Parent = this; _childElements.Add(newElement); } } }
public BoxElement(BoxElement b) : base(b) { _keepTogether = b._keepTogether; _columns = b._columns; _columnSpacing = b._columnSpacing; _fixed = b._fixed; }
internal BoxElement AddBoxElement(RdlEngine.ReportElement reportElement, RdlEngine.Style style) { BoxElement child = new BoxElement(this, reportElement, new BoxStyle(style)); _childElements.Add(child); return(child); }
internal BoxElement(BoxElement parent, RdlEngine.ReportElement reportElement, BoxStyle style) : base(parent, reportElement, style) { }