Guide.IsVisible Property

Determines if a Guide user interface screen is active.

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

public static bool IsVisible { get; set; }

Property Value

true if a user interface screen is displayed; false otherwise.

Exception typeCondition
InvalidOperationExceptionThe gamer services functionality must be initialized before this property is accessed.

It is not possible to bring up another Guide user interface screen if IsVisible is true.

Bb975755.note(en-us,XNAGameStudio.41).gifWindows Phone Specific Information

On Windows Phone, IsVisible indicates that a dialog is open, or that the game is not currently in the foreground.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions