MouseState.MiddleButton Property

Note

This property is available only when developing for Windows.

Returns the state of the middle mouse button.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public ButtonState MiddleButton { get; }

Property Value

State of the middle mouse button.

See Also

Reference

MouseState Structure
MouseState Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Windows XP SP2, Windows Vista