combit List & Label 29 - .NET Help
combit.Reporting Namespace / ListLabel Class / AutoDefineVariable Event


In This Topic
    AutoDefineVariable Event
    In This Topic

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

    Syntax
    'Declaration
     
    
    Public Event AutoDefineVariable As AutoDefineElementHandler
    public event AutoDefineElementHandler AutoDefineVariable
    public:
    event AutoDefineElementHandler^ AutoDefineVariable
    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
     
     

    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 7, .NET 8

    See Also