question

sunilmarulasiddaiah-7880 avatar image
0 Votes"
sunilmarulasiddaiah-7880 asked MMSunil-2457 commented

implementation mechanism for XBOX Game Bar integration to UWP app

I need to perform the below task in my universal windows application.
Could you please help

In an initial assessment the XboX
Investigate implementation mechanism for XBOX Game Bar integration in UWP.
-Looking to see the UWP Controls loading in GameBar, and also understand/confirm limitations.

How size of widget can be controlled
Can Position of the widget be controlled programmatically
Only pinned controls/widget will remain ON
Can widget/controls be pinned automatically

windows-uwp
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Do you means you wan to implement UWP feature like Xbox Game Bar rendered in the current desktop view right ? And have yo u checked this document.


0 Votes 0 ·

1 Answer

NicoZhu-MSFT avatar image
0 Votes"
NicoZhu-MSFT answered MMSunil-2457 commented

Hello, Welcome to Micorosoft Q&A,

implementation mechanism for XBOX Game Bar integration to UWP app

For this scenario, you could refer to Game Bar Widget Overview document, The Xbox Game Bar Development Kit allows you to build widgets for Xbox Game Bar. An Xbox Game Bar widget is a Windows UWP XAML app that has a XAML view rendered into Xbox Game Bar's UI. For detail steps please refer Development Guide. This is official code sample that you could refer to.





If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi Thanks for your prompt response.

Could you please provide me a sample application/sample application link to run and see in visual studio 2019.

0 Votes 0 ·
NicoZhu-MSFT avatar image NicoZhu-MSFT sunilmarulasiddaiah-7880 ·

And if the answer is helpful, please consider accept it.

0 Votes 0 ·

HI,

i have downloaded(from This is official code sample - WidgetSample.cs - Universal windows.) and successfully run the project.

I need your help on how to test this on xbar game bar?
note:still i have not installed xbox game bar in my machine.

0 Votes 0 ·