ActiveReports 6 Online Help
TableOfContents Property (Viewer)
Example 

Gets a reference to the TableOfContentsObject.

Syntax
'Declaration
 
Public ReadOnly Property TableOfContents As TableOfContentsObject
public TableOfContentsObject TableOfContents {get;}

Property Value

A TableOfContentsObject value used to set the viewer's table of contents treeview options.
Remarks
This property is used to set the properties of the TableOfContents component of the control.
Example
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;
}
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
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Viewer Class
Viewer Members

Send Feedback