MouseState.MiddleButton Property

Returns the state of the middle mouse button.

Bb197987.note(en-us,XNAGameStudio.41).gifXbox 360 Specific Information
The value of this property is always ButtonState.Released.

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


public ButtonState MiddleButton { get; }

Property Value

State of the middle mouse button.

See Also


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


Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone