'宣言 Public Property ParentOutline As OutlineNode
'使用法 Dim instance As C1DataBinding Dim value As OutlineNode instance.ParentOutline = value value = instance.ParentOutline
public OutlineNode ParentOutline {get; set;}
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];
will add outlines to the data-bound rows of 'rtbl', and will make those outlines children of the 'Document root' outline node.
'宣言 Public Property ParentOutline As OutlineNode
'使用法 Dim instance As C1DataBinding Dim value As OutlineNode instance.ParentOutline = value value = instance.ParentOutline
public OutlineNode ParentOutline {get; set;}