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


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

IProgressDialog.CancelEnabled Property

Indicates if the cancel button is enabled.

[Visual Basic .NET]
Public Property CancelEnabled As Boolean
[C#]
public bool CancelEnabled {get; set;}
[C++]
HRESULT get_CancelEnabled(
  Boolean* bVal
);
[C++]
HRESULT put_CancelEnabled(
  VARIANT_BOOL bVal
);
[C++]
Parameters
bVal [out, retval]

bVal is a parameter of type bool* bVal [in]
bVal is a parameter of type bool

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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

IProgressDialog Interface