MicrosoftDocs / winrt-api

WinRT reference content for developing Microsoft Universal Windows Platform (UWP) apps
Creative Commons Attribution 4.0 International
231 stars 498 forks source link

The description is very vague. #1813

Open mirronelli opened 4 years ago

mirronelli commented 4 years ago

The window is presented even if the method is not called. So what is the real purpose of this method? It is often called in Initialize method of many samples of a single window apps here on docs.microsoft.com, however whenever I comment it out, it just presents itself anyway.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

jwmsft commented 4 years ago

Hi, sorry for the delayed response to this issue. For apps that use XAML (which is the majority of UWP apps), the XAML Window object surfaces information from CoreWindow, and the CoreWindow object is rarely used directly. The docs for Window and Window.Activate have more information that might be useful.

This feedback channel is for feedback about the documentation in this topic, and responses to questions might be delayed. For questions or assistance that might need a quicker response, we recommend you visit Microsoft Q&A to post your question.