System.Windows.Forms.SystemInformation.MouseButtons Property

Gets the number of buttons on the mouse.

Syntax

public static int MouseButtons { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The SystemInformation.MouseButtons property indicates the number of mouse buttons recognized on the currently installed mouse.

You can use SystemInformation.MouseButtons property to toggle additional functionality for users with more or less than the standard number of mouse buttons supported by your application.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0