| Visual Basic (Declaration) | |
|---|---|
Public Property Cancel As Boolean | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public bool Cancel {get; set;} | |
| C# | Copy Code |
|---|---|
//Create the DataSourceClick event handler | |
| Visual Basic | Copy Code |
|---|---|
'Create the DataSourceClick event handler | |
For End-User Designer only. The DataSourceClick event must be attached to the Designer in order for this to take effect. If the value is set to True, the default Datasource dialog will not open when the Datasource Icon is clicked in End-User Designer. In a typical scenario a custom dialog can be showed instead.