Back to Devexpress

TdxCustomContainerReportLink.OnInitializeItem Event

vcl-dxpscontainerlnk-dot-tdxcustomcontainerreportlink-553a74a2.md

latest1.2 KB
Original Source

TdxCustomContainerReportLink.OnInitializeItem Event

Occurs during the report item initialization.

Declaration

delphi
property OnInitializeItem: TdxContainerReportLinkInitializeItemEvent read; write;

Remarks

The OnInitializeItem event occurs during the report item initialization. This process takes place before the OnCustomDrawItem event. The AnItem parameter represents the processed report item. The AComponent parameter specifies the aggregated component corresponding to the specified item.

Changes applied to a report item via this event handler can be saved within a file, unlike the changes applied via custom painting (see the OnCustomDrawItem event).

Note

since this event is fired when no drawing has been performed, handling it takes significantly less resources than the custom draw mechanism.

See Also

TdxCustomContainerReportLink Class

TdxCustomContainerReportLink Members

dxPSContainerLnk Unit