This allows to establish hierarchy of outline nodes for data-bound render object.
For instance, the following code:
C1PrintDocument doc = new C1PrintDocument();
RenderTable rtbl = new RenderTable();
doc.Body.Children.Add(rtbl);
doc.Outlines.Add(new OutlineNode("Document root", rtbl));
// set up data binding for rtbl.RowGroups[0,1]...
rtbl.RowGroups[0, 1].DataBinding.DataSource = myDataSource;
rtbl.RowGroups[0, 1].DataBinding.OutlineText = "Customer: [Fields!CustomerName.Value]";
rtbl.RowGroups[0, 1].DataBinding.ParentOutline = doc.Outlines[0];
Assembly: C1.C1Report.2 (in C1.C1Report.2.dll)
Syntax
C# |
---|
public OutlineNode ParentOutline { get; set; } |
Visual Basic |
---|
Public Property ParentOutline As OutlineNode Get Set |