| Visual Basic (Declaration) | |
|---|---|
Public Event DataSourceIconClick() As DataSourceIconClickEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event DataSourceIconClickEventHandler DataSourceIconClick() | |
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. |