Class
TocSection

Represents a table of contents section.

Definition

Namespace:Telerik.Reporting

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[ToolboxBitmap(typeof(TocSection), "Resources.Toc.bmp")]
public class TocSection : ReportSection, IToggleVisibilityTarget, IActionTarget

Inheritance: objectReportObjectReportItemBaseReportSectionBaseReportSectionTocSection

Implements: IActionTargetIToggleVisibilityTarget

Inherited Members ReportSection.CanShrinkReportSection.PageBreakReportSection.KeepTogetherReportSectionBase.HeightReportItemBase.Dispose()ReportItemBase.Dispose(bool)ReportItemBase.ToString()ReportItemBase.Contains(ReportItemBase)ReportItemBase.GetEventHandlers(EventHandler)ReportItemBase.OnItemValidate(ReportItemBase)ReportItemBase.ClearGlobalDependencies()ReportItemBase.ContainerReportItemBase.DesignModeReportItemBase.SiteReportItemBase.NameReportItemBase.ItemDataBindingMethodNameReportItemBase.ItemDataBoundMethodNameReportItemBase.VisibleReportItemBase.StyleNameReportItemBase.StyleReportItemBase.ItemsReportItemBase.ParentReportItemBase.ReportReportItemBase.ConditionalFormattingReportItemBase.BookmarkReportItemBase.BookmarkIdReportItemBase.DocumentMapTextReportItemBase.TocTextReportItemBase.ActionReportItemBase.BindingsReportItemBase.ToolTipReportItemBase.AccessibleDescriptionReportItemBase.AccessibleRoleReportItemBase.AIDescriptionReportItemBase.ItemDataBindingReportItemBase.ItemDataBoundReportItemBase.DisposedReportObject.ToString(string[])

Constructors

TocSection()

TODO: Add documentation.

Declaration

cs-api-definition
public TocSection()

Properties

Levels

Gets the collection of TocLevels that are defined for each Table of Contents level.

Declaration

cs-api-definition
public TocLevelCollection Levels { get; }

Property Value

TocLevelCollection

Position

Gets or sets a value indicating where the section should be positioned.

Declaration

cs-api-definition
public TocPosition Position { get; set; }

Property Value

TocPosition

A TocPosition object specifying the position for the TocSection.

Title

Gets or sets a value which will be displayed at the top of the table of contents section.

Declaration

cs-api-definition
public string Title { get; set; }

Property Value

string

TitleStyle

Gets a Style object specifying the appearance of the table of contents title.

Declaration

cs-api-definition
[TypeConverter(typeof(ExpandableObjectConverter))]
public Style TitleStyle { get; }

Property Value

Style

A Style object specifying the item's style.

TitleStyleName

Gets or sets the name of the title's global style.

Declaration

cs-api-definition
public string TitleStyleName { get; set; }

Property Value

string

A string value specifying the style name.

Remarks

Global styles are defined through the Report's StyleSheet property.