See Also

Viewer Class  | Viewer Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

TableOfContents Property

Gets a reference to the TableOfContentsObject.

[Visual Basic]
Public ReadOnly Property TableOfContents As TableOfContentsObject
[C#]
public TableOfContentsObject TableOfContents {get;}

Return Type

A TableOfContentsObject value used to set viewer's table of contents treeview options.

Remarks

This property is used to set the properties of the TableOfContents component of the control.

Example

[C#] 

private void arv_Load(object sender, System.EventArgs e) 

    rptDD rpt = new rptDD(); 
    rpt.Run(); 
    arv.Document = rpt.Document; 
     
    arv.TableOfContents.Enabled = true; 
    arv.TableOfContents.Text = "Country"; 
    arv.TableOfContents.Visible = true; 
    arv.TableOfContents.Width = 150; 
}

[Visual Basic] 

Private Sub arv_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles arv.Load
    Dim rpt As New rptDD
    rpt.Run()
    arv.Document = rpt.Document

    arv.TableOfContents.Enabled = True
    arv.TableOfContents.Text = "Country"
    arv.TableOfContents.Visible = True
    arv.TableOfContents.Width = 150
End Sub

See Also

Viewer Class  | Viewer Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.