←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#
public bool IsMouseLeftButtonDown {get; set;}
Public Property IsMouseLeftButtonDown As Boolean
public bool IsMouseLeftButtonDown {get; set;}
macOS Only: 
@property (nonatomic, assign, getter=isMouseLeftButtonDown) BOOL mouseLeftButtonDown 
get_IsMouseLeftButtonDown(); 
set_IsMouseLeftButtonDown(value); 
Object.defineProperty('IsMouseLeftButtonDown'); 

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

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