Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Game.IsMouseVisible Property

Gets or sets a value indicating whether the mouse cursor should be visible.

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

public bool IsMouseVisible { get; set; }

Property Value

true if the mouse cursor should be visible; false otherwise.

Bb197700.note(en-US,XNAGameStudio.10).gifNote
This property applies only to Windows development. The Mouse and MouseState objects are not supported on Xbox 360.

Xbox 360, Windows XP SP2, Windows Vista

Show:
© 2015 Microsoft