Events

The following table shows some important events of the ListLabel component. A full reference can be found in the component help for .NET.

Event

Usage

AutoDefineField/
AutoDefineVariable

These events are called for each field or variable before passing it to List & Label. With the event arguments you can manipulate the name and content or completely prevent the declaration of the element. Examples can be found in section Database Independent Contents.

AutoDefineNewPage

This event is triggered for every new page when using databinding. Here, you can register additional required page-specific variables for the application which are not part of the data source by using LL.Variables.Add(). Examples can be found in section Database Independent Contents.

AutoDefineNewLine

The event is triggered for every new line. If the application requires additional line-specific data which is not part of the data source itself, it can be added in this event by using LL.Fields.Add(). Examples can be found in section Database Independent Contents.

DrawObject
DrawPage
DrawTableLine
DrawTableField

These events are each called once before and after printing the corresponding elements, e.g. for each table cell (DrawTableField). The event arguments contain a Graphics object and the output rectangle so that the application can output custom information additionally. That could be a special shading, a "Trial” character or a complete specific output.

VariableHelpText

You can support your users by displaying help texts for each variable and field in the Designer.