ReportItem Class

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

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Public MustInherit Class ReportItem _
    Inherits ReportElement
'Usage
Dim instance As ReportItem
[StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public abstract class ReportItem : ReportElement
[StrongNameIdentityPermissionAttribute(SecurityAction::InheritanceDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
public ref class ReportItem abstract : public ReportElement
[<AbstractClassAttribute>]
[<StrongNameIdentityPermissionAttribute(SecurityAction.InheritanceDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
type ReportItem =  
    class
        inherit ReportElement
    end
public abstract class ReportItem extends ReportElement

The ReportItem type exposes the following members.

Properties

  Name Description
Public property Bookmark Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action.
Public property CustomProperties Gets the custom information to be handed to the report rendering component.
Public property DataElementName Gets the name to use for the data element/attribute for this report item.
Public property DataElementOutput Gets a value that indicates whether the item should appear in a data rendering.
Public property DefinitionPath Gets the path to this report definition object in the report definition. (Overrides ReportElement.DefinitionPath.)
Public property 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).
Public property Height Gets the height of the item.
Public property ID Gets the unique identifier for this report definition object. (Overrides ReportElement.ID.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object.
Public property Left Gets the distance of the item from the left of the containing object.
Public property LinkToChild Gets the index of the report item that should be linked to, using the document map, instead of the current item.
Public property Name Gets the description.
Public property ParentDefinitionPath Gets the path to report definition object's parent in the report definition. (Inherited from ReportElement.)
Public property RepeatedSibling Gets a Boolean value that indicates whether this report item has a specified RepeatWith property.
Public property RepeatWith Gets the name of a data region that this report item should be repeated with if that data region spans multiple pages.
Public property Style Gets the style properties of this report definition object. (Overrides ReportElement.Style.)
Public property 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.
Public property Top Gets the distance of the item from the top of the containing object.
Public property Visibility Gets the current visibility state of this report object.
Public property Width Gets the width of the item. Negative sizes allowed only for lines.
Public property 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).

Top

Methods

  Name Description
Public method CreateCustomProperty Creates a new custom property and adds it to the custom properties collection of the report item. Used in custom report items.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Protected field m_bookmark Infrastructure.
Protected field m_cachedHeight Infrastructure.
Protected field m_cachedWidth Infrastructure.
Protected field m_definitionPath Infrastructure.
Protected field m_documentMapLabel Infrastructure.
Protected field m_instance Infrastructure.
Protected field m_inSubtotal Infrastructure.
Protected field m_isListContentsRectangle Infrastructure.
Protected field m_isOldSnapshot Infrastructure. (Inherited from ReportElement.)
Protected field m_parentDefinitionPath Infrastructure. (Inherited from ReportElement.)
Protected field m_startHidden Infrastructure.
Protected field m_style Infrastructure. (Inherited from ReportElement.)
Protected field m_toolTip Infrastructure.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.