This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IP > IProgressDialog Interface > IProgressDialog.CancelEnabled Property (ArcObjects .NET 10.5 SDK) |
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
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.