PrintDocument for WinForms
ParentOutline プロパティ (C1DataBinding)


C1.PrintDocument.6 アセンブリ > C1.C1Preview.DataBinding 名前空間 > C1DataBinding クラス : ParentOutline プロパティ
Gets or sets the parent outline node.

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;}
参照

C1DataBinding クラス
C1DataBinding メンバ
OutlineText プロパティ