←Select platform

IsMouseLeftButtonDown Property

Summary

Gets or sets a value indicating whether the left mouse button is currently down.

Syntax

C#
VB
Objective-C
WinRT C#
C++
public bool IsMouseLeftButtonDown { get; set; } 
Public Property IsMouseLeftButtonDown As Boolean 
public bool IsMouseLeftButtonDown {get; set;} 
macOS Only: 
@property (nonatomic, assign, getter=isMouseLeftButtonDown) BOOL mouseLeftButtonDown 
             
 <br/>get_IsMouseLeftButtonDown();<br/>set_IsMouseLeftButtonDown(value);<br/>Object.defineProperty('IsMouseLeftButtonDown');  
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly