combit List & Label 30 - .NET Help
combit.Reporting Namespace / ListLabel Class / AutoDefineField Event


AutoDefineField Event

This event is called when using data binding for all automatically declared fields. With the event arguments you can manipulate the name and content or completely prevent the declaration of the element.

Syntax
'Declaration
 
Public Event AutoDefineField As AutoDefineElementHandler
 
Event Data

The event handler receives an argument of type AutoDefineElementEventArgs containing data related to this event. The following AutoDefineElementEventArgs properties provide information specific to this event.

PropertyDescription

This gives you access to the other elements/columns of the current data row.

 

Returns or defines the field type of the element.

 

Indicates whether the event is triggered for the design mode and whether test data can be transferred.

 

Name of the element.

 
Progress in percent.  

If set to true, the element is not added to the designer.

 

Content of the element.

 
Requirements

Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9

See Also