←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 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly