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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.