The DataRegion type exposes the following members.

Constructors

  Name Description
Public method DataRegion
Initializes a new instance of the DataRegion class.

Methods

  Name Description
Public method AssignFrom
Copies properties from another ReportElement to the current object.
(Overrides ReportItem..::..AssignFrom(ReportElement).)
Public method Clear
Clears the current object, sets all properties to their default values.
(Inherited from ReportElement.)

Properties

  Name Description
Public property ActionInfo
Gets the ActionInfo object containing actions (such as hyperlinks) associated with the current object.
(Inherited from ReportItem.)
Public property Bookmark
Gets or sets a bookmark that can be linked to via a BookmarkLink action.
(Inherited from ReportItem.)
Public property Bottom
Gets the bottom coordinate of the current object.
(Inherited from ReportItem.)
Public property CustomProperties
Gets CustomProperties collection containing custom information about the current report item.
(Inherited from ReportItem.)
Public property DataElementName
Gets or sets the name to use for the data element/attribute for this report item. Default: Name of the report item. Must be a CLS-compliant identifier.
(Inherited from ReportItem.)
Public property DataElementOutput
Gets or sets a value indicating whether the current item should appear in a data rendering.
(Inherited from ReportItem.)
Public property DataSetName
Gets or sets the name of the DataSet to use for this DataRegion. Mandatory for top level data regions (not contained within another DataRegion) unless there is exactly one data set in the report. If there is exactly one data set in the report, the data region uses that data set.

Note: If there are no data sets in the report, data regions can not be used, as there is no valid DataSetName to use.

Ignored for data regions that are not top level.
Public property DocumentMapLabel
Gets or sets a label to identify an instance of the current report item within the client UI (to provide a user-friendly label for searching). Hierarchical listing of report item and group labels within the UI (the Document Map) should reflect the object containment hierarchy in the report definition. Peer items should be listed in left-to-right top-to-bottom order. If the expression returns null, no item is added to the Document Map. Not used for report items in the page header or footer.
(Inherited from ReportItem.)
Public property Filters
Gets the Filters collection containing filters to apply to each row of data in the current data region.
Public property Height
Gets or sets the width of the current item. Negative sizes are allowed only for lines (the height/width gives the offset of the endpoint of the line from the start point).

Default is null which means the height of the containing object minus Top.

(Inherited from ReportItem.)
Public property Left
Gets or sets the distance of the current item from the left of the containing object.

The default is 0.

(Inherited from ReportItem.)
Public property Name
Gets or sets the name of the current report item. That name should not be empty and must be unique within the report.
(Inherited from ReportItem.)
Public property NoRowsMessage
Gets or sets the message to display in the DataRegion (instead of the region layout) when no rows of data are available. Note: Style information on the data region applies to this text.
Public property PageBreak
Gets or sets the PageBreak object defining the page break behavior for the current data region.
Public property 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. The data region must be in the same ReportItems collection as this ReportItem (Since data regions are not allowed in page headers/footers, this means RepeatWith will be unusable in page headers/footers). Not allowed if this report item is a data region, subreport or rectangle that contains a data region or subreport.
(Inherited from ReportItem.)
Public property Report
Gets the C1RdlReport containing the current object.
(Inherited from ReportItem.)
Public property Right
Gets the right coordinate of the current object.
(Inherited from ReportItem.)
Public property SortExpressions
Gets the SortExpressions collection containing expressions by which to sort the rows of data in the current data region.
Public property Style
Gets the Style object defining style information for the current ReportElement.
(Inherited from ReportElement.)
Public property ToolTip
Gets or sets a textual label for the current report item.
(Inherited from ReportItem.)
Public property Top
Gets or sets the distance of the current item from the top of the containing object.

The default is 0.

(Inherited from ReportItem.)
Public property Visibility
Gets the Visibility object indicating if the current item should be hidden.
(Inherited from ReportItem.)
Public property Width
Gets or sets the height of the current item. Negative sizes are allowed only for lines (the height/width gives the offset of the endpoint of the line from the start point).

Default is null which means the width of the containing object minus Left.

(Inherited from ReportItem.)
Public property ZIndex
Gets or sets the drawing order of the current report item within containing object. Items with lower indices are drawn first (appearing behind items with higher indices). Items with equal indices have unspecified rendering order.

Default: 0 Min: 0 Max: 2147483647

(Inherited from ReportItem.)

See Also