MouseCapabilities.NumberOfButtons Property

Gets the highest number of buttons on any connected mouse.

Syntax

public:
property int32 NumberOfButtons {
         int32 get ();
}  

Property value

Type: int32

  Highest number of buttons on any connected mouse. This API supports a maximum of five buttons.

Requirements

Namespace: Windows.Devices.Input

Metadata: windows.winmd

See also

Reference

MouseCapabilities Class

MouseCapabilities Members

Windows.Devices.Input Namespace