xtd 0.2.0
Loading...
Searching...
No Matches

◆ mouse_buttons()

static int32 xtd::forms::system_information::mouse_buttons ( )
static

Gets the number of buttons on the mouse.

Returns
The number of buttons on the mouse, or zero if no mouse is installed.
Remarks
The mouse_buttons property indicates the number of mouse buttons recognized on the currently installed mouse.
You can use mouse_buttons property to toggle additional functionality for users with more or less than the standard number of mouse buttons supported by your application.