  | ProgressDialogShowCancelButton Property  | 
 
            Gets or sets a value that indicates whether the dialog has a cancel button.
            
 
    Namespace: 
   Ookii.Dialogs
    Assembly:
   Ookii.Dialogs (in Ookii.Dialogs.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic bool ShowCancelButton { get; set; }Public Property ShowCancelButton As Boolean
	Get
	Set
public:
property bool ShowCancelButton {
	bool get ();
	void set (bool value);
}member ShowCancelButton : bool with get, set
Property Value
Type: 
Boolean if the dialog has a cancel button; otherwise, 
. The default
            value is 
.
            
Remarks  Note | 
|---|
| 
              This property requires Windows Vista or later; on older versions of Windows, the cancel button will always
              be displayed.
             | 
              The event handler for the DoWork event must periodically check the value of the
              CancellationPending property to see if the operation has been cancelled if this
              property is .
            
              Setting this property to  is not recommended unless absolutely necessary.
            
See Also