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


ITrackCancel.CancelOnKeyPress Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITrackCancel Interface > ITrackCancel.CancelOnKeyPress Property
ArcGIS Developer Help

ITrackCancel.CancelOnKeyPress Property

Indicates whether the escape key and spacebar should cancel the operation.

[Visual Basic .NET]
Public Property CancelOnKeyPress As Boolean
[C#]
public bool CancelOnKeyPress {get; set;}
[C++]
HRESULT get_CancelOnKeyPress(
  Boolean* pCancelOnKeyPress
);
[C++]
HRESULT put_CancelOnKeyPress(
  VARIANT_BOOL pCancelOnKeyPress
);
[C++]
Parameters
pCancelOnKeyPress [out, retval]

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

Product Availability

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

Description

Indicates whether the user can use the space bar to cancel the operation.

See Also

ITrackCancel Interface