GameBar.Visible Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Indicates whether Game bar is currently visible.
Use the property to determine the visibility state of Game bar. Games can choose to pause gameplay or present an idle state when Game bar is visible and being drawn over the game. While paused or idle, a best practice is to continue rendering the current frame or scene, so that the recording is smooth and seamless if the player begins recording or is already recording. Multiplayer games might choose to continue gameplay rather than to pause.
To be notified of changes to , handle the VisibilityChanged event.
public:
static property bool Visible { bool get(); };
static bool Visible();
public static bool Visible { get; }
var boolean = GameBar.visible;
Public Shared ReadOnly Property Visible As Boolean
Property Value
bool
true if Game bar is currently visible; false otherwise.