TaskDialogButton.Cancel Property
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.
Gets a standard TaskDialogButton instance representing the Cancel
button.
public:
static property System::Windows::Forms::TaskDialogButton ^ Cancel { System::Windows::Forms::TaskDialogButton ^ get(); };
public static System.Windows.Forms.TaskDialogButton Cancel { get; }
static member Cancel : System.Windows.Forms.TaskDialogButton
Public Shared ReadOnly Property Cancel As TaskDialogButton
Property Value
Remarks
Note: Adding a Cancel button will automatically add a close button to the task dialog's title bar and will allow to close the dialog by pressing ESC or Alt+F4 (just as if you enabled AllowCancel).
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.