←Select platform

SetCursor Event

Summary

Occurs when the automation has determine that the user needs to change the cursor.

Syntax

C#
VB
Objective-C
WinRT C#
C++
public event EventHandler<AnnCursorEventArgs> SetCursor 
Public Event SetCursor As EventHandler(Of AnnCursorEventArgs) 
public event EventHandler<AnnCursorEventArgs> SetCursor 
macOS Only: 
-(void) automation:(LTAnnAutomation*) automation setCursor:(LTAnnCursorEventArgs*) e; 
             
add_SetCursor(function(sender, e)) 
remove_SetCursor(function(sender, e)) 
public:  
   event EventHandler<AnnCursorEventArgs^>^ SetCursor 

Event Data

The event handler receives an argument of type AnnCursorEventArgs containing data related to this event. The following AnnCursorEventArgs properties provide information specific to this event.

PropertyDescription
DesignerType Gets the designer type.
DragDropEvent Gets the drag/drop event data that triggered this event.
Id Gets the id of the current AnnAutomationObject.
IsRotateCenter Gets a value that indicates whether the cursor is on the rotate center.
IsRotateGripper Gets a value that indicates whether the cursor is on the rotate gripper.
PointerEvent Gets the original pointer event data that triggered this event.
ThumbIndex Gets the 0-based thumb index.
Remarks

This event occur when the user moves the mouse around on top of this AnnAutomation surface. The event data will let the user know what type of cursor (if any) must be applied.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Automation Assembly