ReportSection 类

定义

表示报表中的区域。

public ref class ReportSection sealed : Microsoft::ReportingServices::OnDemandReportRendering::IDefinitionPath
public sealed class ReportSection : Microsoft.ReportingServices.OnDemandReportRendering.IDefinitionPath
type ReportSection = class
    interface IDefinitionPath
Public NotInheritable Class ReportSection
Implements IDefinitionPath
继承
ReportSection
实现

属性

Body

获取报表区域的正文。

DataElementName

获取表示报表数据的顶级元素的名称。

DataElementOutput

获取一个值,该值指示 DataElementName 的值是否应显示在呈现的输出中。

DefinitionPath

获取指向报表定义中此报表定义对象的路径。

ID

获取此报表定义对象的唯一标识符。

Instance

获取包含此报表定义对象的计算值的报表实例对象。

Name

获取 ReportSection 的名称。

NeedsOverallTotalPages

获取一个值,该值指示在页眉或页脚中是否使用 Globals!OverallTotalPages 值,并且指示在生成呈现的输出时需要计算该值。

NeedsPageBreakTotalPages

获取一个值,该值指示是否 Globals!TotalPages 在页眉或页脚中使用该值,并且生成呈现的输出时需要计算此值。

NeedsReportItemsOnPage

指示在页眉或页脚中是否存在用于聚合 TextBox 中的数据的聚合。

NeedsTotalPages

获取一个值,该值指示在页眉或页脚中是否使用 Globals!TotalPagesGlobals!OverallTotalPages 值,并且指示在生成呈现的输出时需要计算该值。

Page

获取有关报表的页面布局信息。

ParentDefinitionPath

获取指向报表定义中报表定义对象的父级的路径。

Width

获取报表区域的宽度。

方法

GetPageSections()

导致要为当前页执行的页眉/页脚计算。

SetPage(Int32, Int32)

设置当前页码和总页数。

SetPage(Int32, Int32, Int32, Int32)

设置当前页码和总页数。

SetPageName(String)

设置当前页的名称。

适用于