←Select platform

WorkingCursor Property

Summary

Cursor to use when the user is panning on the target control.

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

Property Value

The cursor to use when the user is panning on the target control. Default value is null.

Remarks

This value is used only when EnablePan is set to true.

When the user is not panning on the target control, the default cursor of Control will be used and this object will not change it.

When the user is panning on the target control and the value of WorkingCursor is not null, then the original cursor value is saved and replaced by WorkingCursor. When the user finishes panning, the original cursor value is set back in Control.

Example

For an example, refer to ImageViewerPanControl.

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