[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Rendering.Components.ReportItem-2

ReportItem<TItem, TProgram> Class

Represents a ReportItem for rendering purposes.

Inheritance
ReportItem<TItem, TProgram>
Namespace: GrapeCity.ActiveReports.Rendering.Components
Assembly: MESCIUS.ActiveReports.Core.Rendering.dll
Syntax
public abstract class ReportItem<TItem, TProgram> : RenderComponent, IReportItemRenderInfo, IReportItem, IRenderComponent, IServiceProvider, IDocumentMapItem, ITocAnchoredItem, IContentRange, IToggleReceiver, IDataScopeInternal, IDataScope, IExpressionEvaluatorService, IEvaluationContext, IExpressionContext, IDynamicObject, IStaticable where TItem : ReportItem where TProgram : class, IReportItemProgram<TItem>
Type Parameters
Name Description
TItem
TProgram

Constructors

Name Description
ReportItem(TProgram, IDataScopeInternal)

Allows derived classes to create instances of this type.

Properties

Name Description
Action

Gets the Action object of this report item.

Bookmark

Specifies a bookmark that can be linked to via a Bookmark action

DataElementName

The name to use for the data element or attribute for this report item when rendered via a data oriented rendering extension (e.g. XML).

DataElementOutput

Indicates how this item should appear when rendered with a data oriented rendering device.

DataScope
ExpressionEvaluator
Height

Height of the item.

Hidden

Gets a value indicating whether this report item should be hidden.

IsDynamicallyHidden

Determines if this item has dynamic visibility and is hidden

IsStatic

Returns true if all expressions are constant.

KeepTogether

Gets a value indicating whether the report item is kept together on one page if possible.

Label

Provides a user friendly label for an instance of an item

Left

The distance of the item from the left of the containing object.

Name

The name of this report item.

ParentReport

Gets the GrapeCity.ActiveReports.Rendering.Components.Report for the report item.

Program
RenderingContext

Returns the GrapeCity.ActiveReports.Rendering.ReportRenderingContext instance this item is bound to.

ReportItemDefinition

Returns the definition for this report item.

ReportItemKey
RequiresRenderingServices
Style

Returns style of the report item.

StyleName

Gets the style name of the report item.

TargetDevice

Defines output kinds in which report item is present (Screen, Export tec.)

ToggleItem

Gets a report item that users can click to toggle the visibility of this item.

ToolTip

Contains a textual label for the item

Top

The distance of the item from the top of the containing object.

Width

Width of the item.

ZIndex

Specifies Drawing order of the report item within the containing object.

Methods

Name Description
Equals(object)
GetHashCode()
GetService(Type)

Gets the service object of the specified type.

Initialize(IDataScope, IPropertyBag)

Derrived implementations must call this implementation.

OnClick(IReportItem, int, int, string, MouseButton)

Handles the OnClick event for the report item.

ToString()

Returns a string that represents the current ReportItem.

Extension Methods