| Visual Basic (Declaration) | |
|---|---|
Public Event PopUp() As PopUpEventHandler | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public event PopUpEventHandler PopUp() | |
The event handler receives an argument of type PopUpEventArgs containing data related to this event. The following PopUpEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| Cancel | Gets or sets whether to cancel the PopUp event and action. |
You can use the Cancel property in the PopUpEventArgs class to cancel the PopUp event.