次の方法で共有


MouseState.LeftButton Property

Returns the state of the left mouse button.

Bb197787.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 LeftButton { get; }

Property Value

State of the left 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