Subreport Class

Definition

Represents an object model subreport.

public ref class Subreport : Microsoft::ReportingServices::RdlObjectModel::ReportItem
[System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Subreport/SubreportConverter))]
public class Subreport : Microsoft.ReportingServices.RdlObjectModel.ReportItem
[<System.ComponentModel.TypeConverter(typeof(Microsoft.ReportingServices.RdlObjectModel.Subreport/SubreportConverter))>]
type Subreport = class
    inherit ReportItem
Public Class Subreport
Inherits ReportItem
Inheritance
Attributes

Constructors

Subreport()

Creates a new instance of the Subreport class.

Fields

AllowTypeInHeaderFooter

Specifies whether the object model allows type in header or footer.

Properties

ActionInfo

Gets or sets the actions that are associated with the ReportItem.

(Inherited from ReportItem)
AllowInHeaderFooter

Gets a value that indicates whether the subreport is allowed in header or footer.

Bookmark

Gets or sets a bookmark that can be linked to by using a Bookmark action.

(Inherited from ReportItem)
ComponentMetadata

Gets or sets the component metadata.

(Inherited from ReportObject)
ContainedReportItems

Gets or sets the sub-items contained in this report item.

(Inherited from ReportItem)
CustomProperties

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

(Inherited from ReportItem)
DataElementName

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

(Inherited from ReportItem)
DataElementOutput

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

(Inherited from ReportItem)
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.

(Inherited from ReportItem)
DocumentMapLabelLocID

Gets or sets the unique identifier for the DocumentMapLabel property.

(Inherited from ReportItem)
Height

Gets or sets the height of the item.

(Inherited from ReportItem)
KeepTogether

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

Left

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

(Inherited from ReportItem)
MergeTransactions

Gets or sets a value that indicates whether the transactions in the subreport should be merged with transactions in the parent report if the data sources use the same connection.

Name

Gets or sets the name of the report item.

(Inherited from ReportItem)
NoRowsMessage

Gets or sets the message that is displayed when the subreport contains no rows.

OmitBorderOnPageBreak

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

Parameters

Gets or sets the list of Parameters to the subreport.

Parent

The parent of this report object.

(Inherited from 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.

(Inherited from ReportItem)
ReportName

Gets or sets the name of the subreport.

Site

Gets or sets the site associated with the ReportObject object.

(Inherited from ReportObject)
Style

Gets the style properties of this report definition object.

(Inherited from 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.

(Inherited from ReportItem)
ToolTipLocID

Gets or sets the unique identifier for the ToolTip property.

(Inherited from ReportItem)
Top

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

(Inherited from ReportItem)
Visibility

Gets or sets the current visibility state of this report object.

(Inherited from ReportItem)
Width

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

(Inherited from ReportItem)
ZIndex

Gets or sets the drawing order of the report item within the containing object.

(Inherited from ReportItem)

Methods

DeepClone()

Returns a deep clone of this ReportObject instance.

(Inherited from ReportObject)
GetContainingDataScopes()

Returns the list of report object that contains data scopes.

(Inherited from ReportObject)
GetDataScopesForDefaultImpl(IContainedObject)

Returns the data scopes for default implementation.

(Inherited from ReportObject)
GetDependenciesCore(IList<ReportObject>)

Returns the dependencies core for the ReportObject object.

(Inherited from ReportObject)
Initialize()

Initializes an instance of the Subreport class.

InitializeForDesigner()

Initializes the properties of an instance of the ReportItem class for the designer.

(Inherited from ReportItem)
OnChildPropertyChanged(Int32, Object, Object)

Raises an event when the property of the child was changed.

(Inherited from ReportObject)
OnPropertyChanged(Int32, Object, Object)

Raises an event when the property was changed.

(Inherited from ReportObject)
RdlSemanticEqualsCore(ReportObject, ICollection<ReportObject>)

Returns whether the report definition language semantic is the same with the core object.

(Inherited from ReportObject)
SavePropertyValue<T>(String, T, ReportObject.SwapValue<T>)

Saves the property value of the report object.

(Inherited from ReportObject)

Explicit Interface Implementations

IComponent.Disposed

Occurs when the ReportObject object is disposed.

(Inherited from ReportObject)
IDisposable.Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from ReportObject)

Applies to