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


IProgressDialog.CancelEnabled Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SystemUI)  

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(
  VARIANT_BOOL* bVal
);
[C++]
HRESULT put_CancelEnabled(
  VARIANT_BOOL bVal
);
[C++]

Parameters bVal [out, retval] bVal is a parameter of type VARIANT_BOOL bVal [in] bVal is a parameter of type VARIANT_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