ReportItem Class

Definition

Represents a report item, such as a rectangle or tablix.

public ref class ReportItem abstract : Microsoft::ReportingServices::OnDemandReportRendering::ReportElement
public abstract class ReportItem : Microsoft.ReportingServices.OnDemandReportRendering.ReportElement
type ReportItem = class
    inherit ReportElement
Public MustInherit Class ReportItem
Inherits ReportElement
Inheritance
ReportItem
Derived

Fields

m_bookmark

The bookmark item.

m_cachedHeight

The cached height item.

m_cachedWidth

The cached width item.

m_definitionPath

The definition path item.

m_documentMapLabel

The map label item.

m_instance

The instance item.

m_inSubtotal

The subtotal item.

m_isListContentsRectangle

The list contents rectangle item.

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.

m_style

Specifies the style properties of this report definition object.

(Inherited from ReportElement)
m_toolTip

The tootltip item.

Properties

Bookmark

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

CustomProperties

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

DataElementName

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

DataElementOutput

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

DefinitionPath

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

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).

Height

Gets the height of the item.

ID

Gets the unique identifier for this report definition object.

Instance

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

Left

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

LinkToChild

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

Name

Gets the descriptive name of the report item.

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.

RepeatWith

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

Style

Gets the style properties of this report definition object.

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.

Top

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

Visibility

Gets the current visibility state of this report object.

Width

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

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).

Methods

CreateCustomProperty()

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

Applies to