Share via


MouseState.RightButton Property

Returns the state of the right mouse button.

Bb198767.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)

Syntax

public ButtonState RightButton { get; }

Property Value

State of the right mouse button.

See Also

Reference

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

Platforms

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