Click or drag to resize

ProgressDialogShowCancelButton Property

Gets or sets a value that indicates whether the dialog has a cancel button.

Namespace:  Ookii.Dialogs.Wpf
Assembly:  Ookii.Dialogs.Wpf (in Ookii.Dialogs.Wpf.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public bool ShowCancelButton { get; set; }

Property Value

Type: Boolean
if the dialog has a cancel button; otherwise, . The default value is .
Remarks
Note 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