DataRegion 类

Represents the base class for a data region, such as Tablix.

继承层次结构

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          Microsoft.ReportingServices.RdlObjectModel.DataRegion
            Microsoft.ReportingServices.RdlObjectModel.Chart
            Microsoft.ReportingServices.RdlObjectModel.GaugePanel
            Microsoft.ReportingServices.RdlObjectModel.Tablix

命名空间:  Microsoft.ReportingServices.RdlObjectModel
程序集:  Microsoft.ReportingServices.Designer.Controls(在 Microsoft.ReportingServices.Designer.Controls.dll 中)

语法

声明
Public MustInherit Class DataRegion _
    Inherits ReportItem _
    Implements IDataScopeService, IDataScope, IContainedObject
用法
Dim instance As DataRegion
public abstract class DataRegion : ReportItem, 
    IDataScopeService, IDataScope, IContainedObject
public ref class DataRegion abstract : public ReportItem, 
    IDataScopeService, IDataScope, IContainedObject
[<AbstractClassAttribute>]
type DataRegion =  
    class 
        inherit ReportItem 
        interface IDataScopeService 
        interface IDataScope 
        interface IContainedObject 
    end
public abstract class DataRegion extends ReportItem implements IDataScopeService, IDataScope, IContainedObject

DataRegion 类型公开以下成员。

构造函数

  名称 说明
公共方法 DataRegion Creates a new instance of the DataRegion class.

页首

属性

  名称 说明
公共属性 ActionInfo Gets or sets the actions that are associated with the ReportItem. (从 ReportItem 继承。)
公共属性 AllGroups 基础结构。Gets or sets all groups of the data region.
公共属性 AllowInHeaderFooter When overridden in a derived class, gets a value that indicates whether the data region is allowed in header or footer. (覆盖 ReportItem.AllowInHeaderFooter。)
公共属性 Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action. (从 ReportItem 继承。)
公共属性 ComponentMetadata Gets or sets the component metadata. (从 ReportObject 继承。)
公共属性 ContainedReportItems 基础结构。Gets or sets the sub-items contained in this report item. (从 ReportItem 继承。)
公共属性 CustomProperties Gets or sets the custom information to be handed to the report rendering component. (从 ReportItem 继承。)
公共属性 DataElementName Gets or sets the name to use for the data element/attribute for this report item. (从 ReportItem 继承。)
公共属性 DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering. (从 ReportItem 继承。)
公共属性 DataSetName Gets or sets a value that indicates which dataset to use for this data region.
公共属性 DocumentMapLabel Gets or sets a label to identify an instance of a report item within the client UI, This provides a user-friendly label for searching. (从 ReportItem 继承。)
公共属性 DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property. (从 ReportItem 继承。)
公共属性 Filters Gets or sets the filters to apply to each row of data in the data region.
公共属性 Height Gets or sets the height of the item. (从 ReportItem 继承。)
公共属性 KeepTogether Gets or sets a value that indicates whether all sections of the data region are kept together on one page, if possible.
公共属性 Left Gets or sets the distance of the item from the left of the containing object. (从 ReportItem 继承。)
公共属性 Name Gets or sets the name of the report item. (从 ReportItem 继承。)
公共属性 NoRowsMessage Gets or sets the message to display in the data region when it contains no rows.
公共属性 PageBreak Gets or sets the page break behavior for the data region
公共属性 PageName Gets or sets the page name for the data region.
公共属性 Parent The parent of this report object. (从 ReportObjectBase 继承。)
公共属性 RepeatWith Gets or sets the name of a data region that this report item should be repeated with if that data region spans multiple pages. (从 ReportItem 继承。)
公共属性 Site 基础结构。Gets or sets the site associated with the ReportObject object. (从 ReportObject 继承。)
公共属性 SortExpressions Gets or sets the expressions by which to sort the rows of data in the data region.
公共属性 Style Gets the style properties of this report definition object. (从 ReportElement 继承。)
公共属性 ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports. (从 ReportItem 继承。)
公共属性 ToolTipLocID Gets or sets the unique identifier for the ToolTip property. (从 ReportItem 继承。)
公共属性 Top Gets or sets the distance of the item from the top of the containing object. (从 ReportItem 继承。)
公共属性 Visibility Gets or sets the current visibility state of this report object. (从 ReportItem 继承。)
公共属性 Width Gets or sets the width of the item. Negative sizes allowed only for lines. (从 ReportItem 继承。)
公共属性 ZIndex Gets or sets the drawing order of the report item within the containing object. (从 ReportItem 继承。)

页首

方法

  名称 说明
公共方法 DeepClone Returns a deep clone of this ReportObject instance. (从 ReportObject 继承。)
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetContainingDataScopes 基础结构。Returns the list of report object that contains data scopes. (从 ReportObject 继承。)
受保护方法 GetDataScopesForDefaultImpl 基础结构。Returns the data scopes for default implementation. (从 ReportObject 继承。)
受保护方法 GetDependenciesCore 基础结构。Returns the list of dependency objects embedded in the data region. (覆盖 ReportObject.GetDependenciesCore(IList<ReportObject>)。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 Initialize Initializes an instance of the DataRegion class. (覆盖 ReportItem.Initialize()。)
受保护方法 InitializeForDesigner 基础结构。Initializes the properties of an instance of the ReportItem class for the designer. (从 ReportItem 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
受保护方法 OnChildPropertyChanged 基础结构。Raises an event when the property of the child was changed. (从 ReportObject 继承。)
受保护方法 OnPropertyChanged 基础结构。Raises an event when the property was changed. (从 ReportObject 继承。)
受保护方法 RdlSemanticEqualsCore 基础结构。Returns whether the report definition language semantic is the same with the core object. (从 ReportObject 继承。)
受保护方法 SavePropertyValue<T> 基础结构。Saves the property value of the report object. (从 ReportObject 继承。)
公共方法 ToString (从 Object 继承。)

页首

字段

  名称 说明
公共字段静态成员 AllowTypeInHeaderFooter Specifies whether the data region allows type in header or footer.

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IDisposable.Dispose 基础结构。Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (从 ReportObject 继承。)
显式接口实现私有事件 IComponent.Disposed 基础结构。Occurs when the ReportObject object is disposed. (从 ReportObject 继承。)
显式接口实现私有属性 IDataScope.Group 基础结构。Gets the group of the data for the data region.
显式接口实现私有方法 IDataScopeService.GetDataScopesFor 基础结构。Gets the data scopes for the data region.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.ReportingServices.RdlObjectModel 命名空间