Indicates whether to cancel current operation when the user hits the ESC key on the keyboard.
Object.defineProperty(InteractiveService.prototype, 'cancelOnEscape',
get: function(),
set: function(value)
)
cancelOnEscape: boolean;
true to cancel current operation when the user hits the ESC key on the keyboard, otherwise; false. Default value is true.
When the value of CancelOnEscape is true (the default value). The service will cancel any operation if the user hits the ESC key on the keyboard (if supported). For example, if the user clicks the mouse or touches down a drag operation will occur. DragStarted and then one or more DragDelta will occur as the user drags on the control. If the user then hits the ESC key on the keyboard before releasing the mouse or touch, then the service will cancel this drag operation by immediately sending a DragCompleted event with the value of IsCanceled set to true. You must check for this value to cancel the operation as well.
Cancelation will also occur if the platform supports notifications when the control loses the focus.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document