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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.