←Select platform

WorkingCursor Property (ImageViewerPanControl)

Summary

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

Syntax

C#
VB
C++
public System.Windows.Forms.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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Controls.WinForms Assembly
Click or drag to resize