This document is archived and information here might be outdated.  Recommended version.


IProgressDialog2.CancelEnabled Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Framework > ESRI.ArcGIS.Framework > Interfaces > IP > IProgressDialog2 Interface > IProgressDialog2.CancelEnabled Property
ArcGIS Developer Help

IProgressDialog2.CancelEnabled Property

Indicates if the Cancel button is enabled.

[Visual Basic .NET]
Public Property CancelEnabled As Boolean
[C#]
public bool CancelEnabled {get; set;}

Product Availability

Available with ArcGIS Desktop.

Remarks

The CancelEnabled property specifies if the Cancel button is enabled. If CancelEnabled is set to True, you can use the Continue method on the CancelTracker object to determine if the user hit Cancel and the operations should be stopped.

See Also

IProgressDialog2 Interface