If I switch into tablet mode (manually) and goto into the task switch view, all applications already maximized, but not the sample application (see red rectangle).
The question is, is this done by programmer or does this do windows automatically?
I can't believe that every "old" application was modified and optimized for tablet mode. But you can see notepad is also maximed. It looks, that Windows just automatically maximize every application, except mine. ;)
Of course, I can do a maximation self in code after event WM_SETTINGSCHANGED. Then the application is also shown maximized in the preview. But then I have other small issues.
Most importantly, there are several ways to maximize a window. The question is which one to prefer.
You can use this sample.




