'Declaration Public Event PopupCancel As PopupCancelEventHandler
'Usage Dim instance As PopupWindowHelperMessageFilter Dim handler As PopupCancelEventHandler AddHandler instance.PopupCancel, handler
public event PopupCancelEventHandler PopupCancel
Event Data
The event handler receives an argument of type PopupCancelEventArgs containing data related to this event. The following PopupCancelEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | Gets or sets whether to cancel closing the form. Set to true to prevent the popup from being closed. |
CursorLocation | Gets the location of the mouse down where the popup occurred that caused the cancel. |
Popup | Gets the popup form. |
See Also