Bagikan melalui


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)

Syntax

public static bool IsVisible { get; set; }

Property Value

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

Exceptions

Exception type Condition
InvalidOperationException The gamer services functionality must be initialized before this property is accessed.

Remarks

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.

See Also

Reference

Guide Class
Guide Members
Microsoft.Xna.Framework.GamerServices Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP