TaskDialogButton.Click Event

Definition

Occurs when the button is clicked.

C#
public event EventHandler? Click;

Event Type

Remarks

By default, the dialog will be closed after the event handler returns (except for the Help button, which instead will raise the HelpRequest event afterwards).

To prevent the dialog from closing when this button is clicked, set the AllowCloseDialog property to false.

Applies to

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