←Select platform

IsMouseLeftButtonDown Property

Summary
Gets or sets a value indicating whether the left mouse button is currently down.
Syntax
C#
VB
Objective-C
C++
public bool IsMouseLeftButtonDown { get; set; } 
Public Property IsMouseLeftButtonDown As Boolean 
macOS Only: 
@property (nonatomic, assign, getter=isMouseLeftButtonDown) BOOL mouseLeftButtonDown 
public:  
   property bool IsMouseLeftButtonDown 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if the left mouse button is currently down; otherwise, it is false.

Remarks

For touch-enabled devices, the touch input is always treated as the left button. So IsMouseLeftButtonDown will be true if the user has a pressed a finger on the device and false otherwise.

Requirements

Target Platforms

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

Leadtools.Annotations.Designers Assembly

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