Share via


ReportItem Class

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

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          More...

Namespace:  Microsoft.ReportingServices.RdlObjectModel
Assembly:  Microsoft.ReportingServices.Designer.Controls (in Microsoft.ReportingServices.Designer.Controls.dll)

Syntax

'Declaration
Public MustInherit Class ReportItem _
    Inherits ReportElement _
    Implements INamedObject
'Usage
Dim instance As ReportItem
public abstract class ReportItem : ReportElement, 
    INamedObject
public ref class ReportItem abstract : public ReportElement, 
    INamedObject
[<AbstractClassAttribute>]
type ReportItem =  
    class 
        inherit ReportElement 
        interface INamedObject 
    end
public abstract class ReportItem extends ReportElement implements INamedObject

The ReportItem type exposes the following members.

Constructors

  Name Description
Protected method ReportItem Infrastructure. Initializes a new instance of the ReportItem class.

Top

Properties

  Name Description
Public property ActionInfo Gets or sets the actions that are associated with the ReportItem.
Public property AllowInHeaderFooter Gets or sets a value that indicates whether report item is allowed in header or footer.
Public property Bookmark Gets or sets a bookmark that can be linked to by using a Bookmark action.
Public property ComponentMetadata Gets or sets the component metadata. (Inherited from ReportObject.)
Public property ContainedReportItems Infrastructure. Gets or sets the sub-items contained in this report item.
Public property CustomProperties Gets or sets the custom information to be handed to the report rendering component.
Public property DataElementName Gets or sets the name to use for the data element/attribute for this report item.
Public property DataElementOutput Gets or sets a value that indicates whether the item should appear in a data rendering.
Public property 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.
Public property DocumentMapLabelLocID Gets or sets the unique identifier for the DocumentMapLabel property.
Public property Height Gets or sets the height of the item.
Public property Left Gets or sets the distance of the item from the left of the containing object.
Public property Name Gets or sets the name of the report item.
Public property Parent The parent of this report object. (Inherited from ReportObjectBase.)
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.
Public property Site Infrastructure. Gets or sets the site associated with the ReportObject object. (Inherited from ReportObject.)
Public property Style Gets the style properties of this report definition object. (Inherited from ReportElement.)
Public property ToolTip Gets or sets a textual label for the report item. Used for such things as rendering TITLE and ALT attributes in HTML reports.
Public property ToolTipLocID Gets or sets the unique identifier for the ToolTip property.
Public property Top Gets or sets the distance of the item from the top of the containing object.
Public property Visibility Gets or sets the current visibility state of this report object.
Public property Width Gets or sets the width of the item. Negative sizes allowed only for lines.
Public property ZIndex Gets or sets the drawing order of the report item within the containing object.

Top

Methods

  Name Description
Public method DeepClone Returns a deep clone of this ReportObject instance. (Inherited from ReportObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetContainingDataScopes Infrastructure. Returns the list of report object that contains data scopes. (Inherited from ReportObject.)
Protected method GetDataScopesForDefaultImpl Infrastructure. Returns the data scopes for default implementation. (Inherited from ReportObject.)
Protected method GetDependenciesCore Infrastructure. Returns the dependencies core for the ReportObject object. (Inherited from ReportObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method Initialize Initializes the properties of an instance of the ReportItem class. (Overrides ReportObject.Initialize().)
Protected method InitializeForDesigner Infrastructure. Initializes the properties of an instance of the ReportItem class for the designer. (Overrides ReportElement.InitializeForDesigner().)
Protected method MemberwiseClone (Inherited from Object.)
Protected method OnChildPropertyChanged Infrastructure. Raises an event when the property of the child was changed. (Inherited from ReportObject.)
Protected method OnPropertyChanged Infrastructure. Raises an event when the property was changed. (Inherited from ReportObject.)
Protected method RdlSemanticEqualsCore Infrastructure. Returns whether the report definition language semantic is the same with the core object. (Inherited from ReportObject.)
Protected method SavePropertyValue<T> Infrastructure. Saves the property value of the report object. (Inherited from ReportObject.)
Public method ToString (Inherited from Object.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IDisposable.Dispose Infrastructure. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ReportObject.)
Explicit interface implemetationPrivate event IComponent.Disposed Infrastructure. Occurs when the ReportObject object is disposed. (Inherited from ReportObject.)

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.

See Also

Reference

Microsoft.ReportingServices.RdlObjectModel Namespace

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.RdlObjectModel.ReportObjectBase
    Microsoft.ReportingServices.RdlObjectModel.ReportObject
      Microsoft.ReportingServices.RdlObjectModel.ReportElement
        Microsoft.ReportingServices.RdlObjectModel.ReportItem
          Microsoft.ReportingServices.RdlObjectModel.CustomReportItem
          Microsoft.ReportingServices.RdlObjectModel.DataRegion
          Microsoft.ReportingServices.RdlObjectModel.DataRegionPlaceholder
          Microsoft.ReportingServices.RdlObjectModel.Image
          Microsoft.ReportingServices.RdlObjectModel.Line
          Microsoft.ReportingServices.RdlObjectModel.Map
          Microsoft.ReportingServices.RdlObjectModel.Rectangle
          Microsoft.ReportingServices.RdlObjectModel.Subreport
          Microsoft.ReportingServices.RdlObjectModel.Textbox