TaskDialogPage.Destroyed Event

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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.

C#
public event EventHandler? Destroyed;

Event Type

Remarks

This will happen when closing or navigating the dialog.

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

Applies to

Product Versions
Windows Desktop 5, 6, 7, 8, 9, 10