Universal Windows Platform (UWP)
A Microsoft platform for building and publishing apps for Windows desktop devices.
3,013 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I created an app using the Template Studio. It includes a FirstRunDialog feature.
Where can I programatically (in code-behind) turn on-off this dialog from appearing?
Using something like FirstRunDialog.Show=off as an example.
thanks
Hello,
Welcome to our Microsoft Q&A platform!
In path Services/FirstRunDisplayService.cs, there is code that displays FirstRunDialog:
if (SystemInformation.IsFirstRun && !shown)
{
shown = true;
var dialog = new FirstRunDialog();
await dialog.ShowAsync();
}
If you want to close it, you can use the code: dialog.Hide();
Thanks.