SubReport Class

Definition

Represents a subreport.

public ref class SubReport sealed : Microsoft::ReportingServices::OnDemandReportRendering::ReportItem
public sealed class SubReport : Microsoft.ReportingServices.OnDemandReportRendering.ReportItem
type SubReport = class
    inherit ReportItem
Public NotInheritable Class SubReport
Inherits ReportItem
Inheritance

Fields

m_bookmark

The bookmark item.

(Inherited from ReportItem)
m_cachedHeight

The cached height item.

(Inherited from ReportItem)
m_cachedWidth

The cached width item.

(Inherited from ReportItem)
m_definitionPath

The definition path item.

(Inherited from ReportItem)
m_documentMapLabel

The map label item.

(Inherited from ReportItem)
m_instance

The instance item.

(Inherited from ReportItem)
m_inSubtotal

The subtotal item.

(Inherited from ReportItem)
m_isListContentsRectangle

The list contents rectangle item.

(Inherited from ReportItem)
m_isOldSnapshot

Specifies whether to use the old snapshot of the report element.

(Inherited from ReportElement)
m_parentDefinitionPath

Specifies the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
m_startHidden

The start hidden item.

(Inherited from ReportItem)
m_style

Specifies the style properties of this report definition object.

(Inherited from ReportElement)
m_toolTip

The tootltip item.

(Inherited from ReportItem)

Properties

Bookmark

Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action.

(Inherited from ReportItem)
CustomProperties

Gets the custom information to be handed to the report rendering component.

(Inherited from ReportItem)
DataElementName

Gets the name to use for the data element/attribute for this report item.

(Inherited from ReportItem)
DataElementOutput

Gets a value that indicates whether the item should appear in a data rendering.

(Inherited from ReportItem)
DefinitionPath

Gets the path to this report definition object in the report definition.

(Inherited from ReportItem)
DocumentMapLabel

Gets an expression that evaluates to a label to identify an instance of a report item within the client UI (to provide a user-friendly label for searching).

(Inherited from ReportItem)
Height

Gets the height of the item.

(Inherited from ReportItem)
ID

Gets the unique identifier for this report definition object.

(Inherited from ReportItem)
Instance

Gets the report instance object that contains the calculated values of this report definition object.

(Inherited from ReportItem)
KeepTogether

Gets a Boolean value that indicates whether the entire subreport should be kept together in one page if possible.

Left

Gets the distance of the item from the left of the containing object.

(Inherited from ReportItem)
LinkToChild

Gets the index of the report item that should be linked to, using the document map, instead of the current item.

(Inherited from ReportItem)
Name

Gets the descriptive name of the report item.

(Inherited from ReportItem)
NoRowsMessage

Gets an expression that evaluates to the message that is displayed when the subreport contains no rows.

OmitBorderOnPageBreak

Gets a Boolean value that indicates whether borders should be removed wherever the subreport spans multiple pages.

ParentDefinitionPath

Gets the path to report definition object's parent in the report definition.

(Inherited from ReportElement)
RepeatedSibling

Gets a Boolean value that indicates whether this report item has a specified RepeatWith property.

(Inherited from ReportItem)
RepeatWith

Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages.

(Inherited from ReportItem)
Report

Gets the full structure (definition and instance) of the subreport.

ReportName

Gets the name of the report within subreport.

Style

Gets the style properties of this report definition object.

(Inherited from ReportItem)
ToolTip

Gets an expression that evaluates to a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports.

(Inherited from ReportItem)
Top

Gets the distance of the item from the top of the containing object.

(Inherited from ReportItem)
Visibility

Gets the current visibility state of this report object.

(Inherited from ReportItem)
Width

Gets the width of the item. Negative sizes allowed only for lines.

(Inherited from ReportItem)
ZIndex

Gets the drawing order of the report item within the containing object. Items with lower indices should be drawn first (appearing behind items with higher indices).

(Inherited from ReportItem)

Methods

CreateCustomProperty()

Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items.

(Inherited from ReportItem)

Applies to