←Select platform

MouseButton Property

Summary

Mouse button to use for panning.

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

Property Value

The mouse button to use for panning. Default value is System.Windows.Forms.MouseButtons.

Remarks

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

Example

For an example, refer to ImageViewerPanControl.

Requirements

Target Platforms

Help Version 20.0.2019.3.11
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly