TaskDialogButton.Click Event

Definition

Occurs when the button is clicked.

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

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