hitTestStateCursor Property

Summary

Mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode.

Syntax
TypeScript
JavaScript
Object.defineProperty(ImageViewerInteractiveMode.prototype, 'hitTestStateCursor', 
	get: function(), 
	set: function(value) 
) 
hitTestStateCursor: string; 

Property Value

The mouse cursor to use for the hit-test state of this ImageViewerInteractiveMode. The default value is null.

Remarks

HitTestState and HitTestStateCursor can be used with interactive modes that subscribe to the InteractiveService.Move event and indicate that the mousse cursor is over an area of interest by updating the state and changing the mouse cursor.

Mouse cursors are only supported by desktop browsers.

The values are standard HTML cursor strings. You can use a value like "crosshair" or "move". They will be set into the CSS style.cursor property of the HTML element. A value of null, means "do not change the cursor".

The cursor is set into the ImageViewer main div (ImageViewer.MainDiv) and foreground canvas (ImageViewer.ForeCanvas) elements. Also, the cursor will be set in any elements added by the user to the InteractiveService.UserControls collection.

Example

For an example, refer to HitTestState.

Requirements

Target Platforms

Help Version 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly