'Declaration Public Event DataSourceIconClick As DataSourceIconClickEventHandler
public event DataSourceIconClickEventHandler DataSourceIconClick
Event Data
The event handler receives an argument of type DataSourceIconClickEventArgs containing data related to this event. The following DataSourceIconClickEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Determines whether the default DataSource dialog is displayed. If the value is set to True, the DataSource dialog will not open when the DataSource Icon is clicked in the End-User Designer. |
Remarks
This event is triggered as a direct response to the user's action of clicking the DataSource icon, typically used to initiate the process of connecting to or modifying the data source for the report being designed. It provides a hook for implementing custom behavior or displaying additional UI elements related to data source configuration.
Handlers attached to this event can access the event arguments to obtain context-specific information, enabling fine-grained control over the application's response to the event.
See Also