[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.ReportItem

ReportItem Class

Represents a report item within a report, which can be one of several types of objects: Line, Shape, TextBox, Image, Subreport, CustomReportItem, or DataRegion. DataRegions include List, Table, Matrix, Tablix, and Chart. This base class is not used directly; specific report item types are used instead.

Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
[Guid("A95FEEC8-DCC3-4daa-90BA-945B4B6D28B9")]
public abstract class ReportItem : ReportComponent, IReportComponent, IComponent, IDisposable, IValidateable
Remarks
<p>This class provides common properties shared among all report item types. However, 

not all properties are relevant to every type of report item.

Constructors

Name Description
ReportItem()

Fields

Name Description
DefaultLayerName

The name of the default layer, which is always present.

Properties

Name Description
Action

Gets or sets an action (e.g., hyperlink) associated with the report item.

Bookmark

Gets or sets a bookmark for the report item, which can be linked via a Bookmark action.

Custom

Gets or sets custom information for the report item.

CustomProperties

Gets a collection of custom property elements.

DataElementName

Gets or sets the name to use for the data element or attribute for the report item.

DataElementOutput

Gets or sets a value indicating whether the item appears in a data rendering.

Height

Gets or sets a height of the report item.

KeepTogether

Gets or sets a value indicating whether a data region is kept together on a single page where possible.

Label

Gets or sets a label for identifying an instance of a report item within the client UI (e.g., a user-friendly label for searching or appearing in the Document Map).

LayerName

Gets or sets the name of the layer to which this report item belongs.

Left

Gets or sets a horizontal position of the item within its container object.

LinkToChild

Gets or sets the name of a report item contained within this report item that serves as the target location for the Document Map label (if any).

Name

Gets or sets the name of the report item.

Style

Gets or sets a style settings for the report item.

ToolTip

Gets or sets a tooltip for the report item.

Top

Gets or sets a vertical position of the item within its container object.

Visibility

Gets or sets a value indicating whether the report item is hidden.

Width

Gets or sets a width of the report item.

ZIndex

Gets or sets a drawing order of the report item within its container.

Methods

Name Description
GetExpressions()

Returns a list of the expressions contained by this report item.

Validate(ValidationContext)

Validates the current state of the ReportItem object.

Extension Methods