Udostępnij za pośrednictwem


CustomReportItem Class

Represents a custom report item. This class cannot be inherited.

Inheritance Hierarchy

System.Object
  Microsoft.ReportingServices.ReportRendering.ReportItem
    Microsoft.ReportingServices.ReportRendering.CustomReportItem

Namespace:  Microsoft.ReportingServices.ReportRendering
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 a report item to render in cases where the custom report item type is not supported by the renderer.
Public property Bookmark Gets or sets the bookmark for this item on the report. (Inherited from ReportItem.)
Public property Custom Gets the contents of the Custom tag in the report definition. (Inherited from ReportItem.)
Public property CustomData Gets an object that encapsulates data for the custom report item.
Public property CustomProperties Gets or sets custom properties for the report item. (Inherited from ReportItem.)
Public property DataElementName Gets the name of the data element for the report item. (Inherited from ReportItem.)
Public property DataElementOutput Gets the DataElementOutputTypes used in the report item. (Inherited from ReportItem.)
Public property HasToggle Gets a value that indicates whether the report definition defines a toggle item for this report item. (Inherited from ReportItem.)
Public property Height Gets or sets the height of the item on the report, including a unit designator such as cm, mm, in, pt, or pc. (Inherited from ReportItem.)
Public property Hidden Gets a value that indicates whether the custom report item is hidden. (Overrides ReportItem.Hidden.)
Public property ID Gets the identifier for the item on the report. (Inherited from ReportItem.)
Public property InDocumentMap Gets a Boolean indicating whether this report item can appear in the document map. (Inherited from ReportItem.)
Protected property IsCustomControl Infrastructure. Gets a value that indicates whether the report item is a custom control. (Inherited from ReportItem.)
Public property IsFullSize Gets a value that indicates whether the top level item of a table cell, matrix member, or matrix cell item is expanded to 100%. (Inherited from ReportItem.)
Public property IsToggleChild Gets a value that indicates whether this item can be made visible or invisible by toggling another item.
Public property Label Gets or sets the document map label of the item on the report. (Inherited from ReportItem.)
Public property Left Gets or sets the horizontal position of the left edge of the report item, including a unit designator such as cm, mm, in, pt, or pc. (Inherited from ReportItem.)
Public property LinkToChild Gets an index into the ReportItem collection, if one exists, that references the ReportItem that should be linked to, using the document map, instead of the current item. (Inherited from ReportItem.)
Public property Name Gets the name of the item on the report, as specified in the report definition. (Inherited from ReportItem.)
Public property RenderingInfo Infrastructure. Gets or sets rendering data specific to the current instance of the report item.
Public property RepeatedSibling Gets a value that indicates whether the ReportItem is duplicated on each page as a repeated sibling of another report item. (Inherited from ReportItem.)
Public property SharedHidden Gets or sets a SharedHiddenState object indicating whether the item is always, never, or sometimes hidden. (Inherited from ReportItem.)
Public property SharedRenderingInfo Infrastructure. Gets or sets shared data for use in future rendering extensions. (Overrides ReportItem.SharedRenderingInfo.)
Public property Style Gets or sets the style properties defined for the report item. (Inherited from ReportItem.)
Public property ToggleItem Gets the name of the toggle item for this report item. (Inherited from ReportItem.)
Public property ToolTip Gets or sets the ToolTip text associated with the report item. (Inherited from ReportItem.)
Public property Top Gets or sets the vertical position of the top edge of the report item, in units such as cm, mm, in, pt, or pc. (Inherited from ReportItem.)
Public property Type Gets the type of the custom report item.
Public property UniqueName Gets the string that contains an autogenerated identifier. (Inherited from ReportItem.)
Public property Width Gets or sets the width of the item on the report, including a unit designator such as cm, mm, in, pt, or pc. (Inherited from ReportItem.)
Public property ZIndex Gets or sets the Z-index of the report item. (Inherited from ReportItem.)

Top

Methods

  Name Description
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

Remarks

Unless EnableNativeCustomReportItem has been called for this custom report item type, the CustomReportItem will not appear in the Rendering Object Model. Instead, the AltReportItem will appear in its place.

For more information on custom report items, see Custom Report Items.

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