Reputation: 554
So I've been facing a really strange problem, I'm making a UWP App using unity the app is set to go fullscreen when it starts and this works fine, except when I exit fullscreen mode using the button at the top:
for some reason I can't get back to fullscreen again,the full screen button turns into the maximize minimize button. Is there a way to control which options appear there I tried to search every where but couldn't find a solution.
Thanks
Upvotes: 1
Views: 960
Reputation: 6749
This is the default style for UWP apps when they are in full screen. It will automatically add the button (to remove it from full-screen) and remove the button (when it's not in full-screen). Users can enter full-screen by pressing Shift + Win + Enter
or you can put them in full-screen programmatically.
If you want a button to allow them to go to full-screen easier then you will have to write your UI to accomplish that. Some apps overwrite the title-bar while others just give the option via context etc.
To use a custom title bar look into:
CoreApplication.GetCurrentView().TitleBar.ExtendViewIntoTitleBar
and also
Window.Current.SetTitleBar
Upvotes: 2