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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.