TaskDialogPage.Destroyed Event

Definition

Occurs when the task dialog is about to destroy the GUI elements represented by this TaskDialogPage instance and it is about to be unbound from the task dialog.

public:
 event EventHandler ^ Destroyed;
public event EventHandler? Destroyed;
member this.Destroyed : EventHandler 
Public Event Destroyed As EventHandler 

Event Type

Remarks

This will happen when closing or navigating the dialog.

After this event occurs, the BoundDialog property will return null.

Applies to