Export (0) Print
Expand All

MouseState.XButton1 Property

Bb199891.note(en-US,XNAGameStudio.10).gifNote
This property is available only when developing for Windows.
Returns the state of XBUTTON1.

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

public ButtonState XButton1 { get; }

Property Value

The state of XBUTTON1.

XBUTTON1 and XBUTTON2 are additional buttons used on many mouse devices, often for forward and backward navigation in Web browsers. They return the same data as standard mouse buttons.

Windows XP SP2, Windows Vista

Show:
© 2015 Microsoft