Edit

Share via


TaskDialogButton.AllowCloseDialog Property

Definition

Gets or sets a value that indicates whether the task dialog should close when this button is clicked. Or, if this button is the Help button, indicates whether the HelpRequest should be raised.

public:
 property bool AllowCloseDialog { bool get(); void set(bool value); };
public bool AllowCloseDialog { get; set; }
member this.AllowCloseDialog : bool with get, set
Public Property AllowCloseDialog As Boolean

Property Value

true if the task dialog should close when this button is clicked; otherwise, false. The default value is true.

Applies to