Gets or sets the behavior of the display control in response to mouse input.
Namespace: Cognex.VisionPro.DisplayAssembly: Cognex.VisionPro.Display.Controls (in Cognex.VisionPro.Display.Controls.dll) Version: 65.1.0.0 (65.1.0.0)
Syntax
Property Value
Type: CogDisplayMouseModeConstantsThe mouse mode behavior.
Events
| Event Type | Reason |
|---|---|
| CogDisplay Changed | Fires when the property value is changed. |
Exceptions
| Exception | Condition |
|---|---|
| AxHost InvalidActiveXStateException | Thrown when the display control is invalid. |
Remarks
The display has five different mouse behavior modes:
- Pointer
- Pan
- ZoomIn
- ZoomOut
- Touch
See Also
CogDisplayGetMouseCursor(CogDisplayMouseCursorConstants)
CogDisplaySetMouseCursor(CogDisplayMouseCursorConstants, Cursor)