Share via


CustomReportItem Class

Represents a report item that is not natively defined in RDL. Extended information about the custom report item is placed within the CustomProperties property. Tools and servers that do not support the type use the [Microsoft.ReportingServices.OnDemandReportRendering.CustomReportItem.AltReportItem] property instead.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.OnDemandReportRendering.ReportElement
    Microsoft.ReportingServices.OnDemandReportRendering.ReportItem
      Microsoft.ReportingServices.OnDemandReportRendering.CustomReportItem

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

Syntax

'Declaration
Public NotInheritable Class CustomReportItem _
    Inherits ReportItem
'Usage
Dim instance As CustomReportItem
public sealed class CustomReportItem : ReportItem
public ref class CustomReportItem sealed : public ReportItem
[<SealedAttribute>]
type CustomReportItem =  
    class 
        inherit ReportItem 
    end
public final class CustomReportItem extends ReportItem

The CustomReportItem type exposes the following members.

Properties

  Name Description
Public property AltReportItem Gets the report item to render instead of the custom report item, if the custom item type is not supported natively.
Public property Bookmark Gets an expression that evaluates to a bookmark that can be linked to via a bookmark action. (Inherited from ReportItem.)
Public property CustomData Gets the data to be passed to the custom report item control.
Public property CustomProperties Gets the custom information to be handed to the report rendering component. (Inherited from ReportItem.)
Public property DataElementName Gets the name to use for the data element/attribute for this report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets a value that indicates whether the item should appear in a data rendering. (Inherited from ReportItem.)
Public property DefinitionPath Gets the path to this report definition object in the report definition. (Inherited from ReportItem.)
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). (Inherited from ReportItem.)
Public property GeneratedReportItem Gets the report item generated by the custom report item runtime class.
Public property Height Gets the height of the item. (Inherited from ReportItem.)
Public property ID Gets the unique identifier for this report definition object. (Inherited from ReportItem.)
Public property Instance Gets the report instance object that contains the calculated values of this report definition object. (Inherited from ReportItem.)
Public property Left Gets the distance of the item from the left of the containing object. (Inherited from ReportItem.)
Public property 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.)
Public property Name Gets the descriptive name of the report item. (Inherited from ReportItem.)
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. (Inherited from ReportItem.)
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. (Inherited from ReportItem.)
Public property Style Gets the style properties of this report definition object. (Inherited from ReportItem.)
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. (Inherited from ReportItem.)
Public property Top Gets the distance of the item from the top of the containing object. (Inherited from ReportItem.)
Public property Type Gets the type of the custom report item. Interpreted by the report design tool or server. Unsupported types generate a warning.
Public property Visibility Gets the current visibility state of this report object. (Inherited from ReportItem.)
Public property Width Gets the width of the item. Negative sizes allowed only for lines. (Inherited from ReportItem.)
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). (Inherited from ReportItem.)

Top

Methods

  Name Description
Public method CreateCriImageDefinition Create an image definition for the custom report item.
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. (Inherited from ReportItem.)
Public method Equals (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

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.OnDemandReportRendering Namespace