←Select platform

HitTestStateCursor Property

Summary

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

Syntax
C#
VB
C++
public virtual Cursor HitTestStateCursor { get; set; } 
Public Overridable Property HitTestStateCursor() As System.Windows.Forms.Cursor 
   Get 
   Set 
public:  
   virtual property System::Windows::Forms::Cursor^ HitTestStateCursor 
   { 
      System::Windows::Forms::Cursor^ get() 
      void set(System::Windows::Forms::Cursor^ value) 
   } 

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.

The cursor is set into the ImageViewer control. Also, the cursor will be set in any controls added by the user to the InteractiveService.UserControls collection.

Example

For an example, refer to HitTestState.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.