template10

Template 10 Multiple Windows

瘦欲@ 提交于 2019-12-01 11:22:59
问题 I'm currently exploring how to use Template 10, and would like to have two windows. One window is for moderation of photos, while the other will show the pictures to guests at an event. So far, I've seen Microsoft MultiViews sample but it seems that it does not use Template 10. Could someone point me/advice in a direction to be able to MultiViews using Template 10, or should I just abandon Template 10 altogether? 回答1: You could use ProjectionManager for this. There's also a useful sample on

App Certification fails because of PreLaunch Test

本秂侑毒 提交于 2019-12-01 02:59:12
When I run the App Certification on my Template 10 based app, I get the following error: Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm. •Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled. •How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be prelaunch event aware. Obviously I can't override the OnLaunched even with Template 10 because the Bootstrap

App Certification fails because of PreLaunch Test

别等时光非礼了梦想. 提交于 2019-11-30 22:45:36
问题 When I run the App Certification on my Template 10 based app, I get the following error: Error Found: The app prelaunch validation detected the following errors:◦The app failed prelaunch test - 49581RisingSoundMedia.ElectionCentral_1.1.7.0_x64__xrbjpqg44kdgm. •Impact if not fixed: The app will take a longer time to launch, even when prelaunch is enabled. •How to fix: In the OnLaunched method implementation of the app, ensure you handle the LaunchActivatedEventArgs.PreLaunch option to be

UWP ContentDialog Invocation

别来无恙 提交于 2019-11-30 20:40:08
I am using UWP and Template 10 to build a GUI app by following MVVM pattern. As a part of application I need to invoke a content dialog by pressing button on Main Page. So separate ContentDialog was created in standalone .xaml file for that purpose: <ContentDialog x:Class="UWP1.Views.Speech" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UWP1.Views" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Title=

How do I use a Unity IoC container with Template10?

浪尽此生 提交于 2019-11-29 18:56:48
问题 I have an app based on Template10 and want to handle my dependency injection using IoC. I am leaning toward using Unity for this. My app is divided into three assemblies: UI (Universal app) UI Logic (Universal Library) Core Logic (Portable Library). I have these questions: Should I use a single container for the whole app, or create one for each assembly? Where should I create the container(s) and register my services? How should different classes in the various assemblies access the

UWP ContentDialog Invocation

断了今生、忘了曾经 提交于 2019-11-28 01:03:37
问题 I am using UWP and Template 10 to build a GUI app by following MVVM pattern. As a part of application I need to invoke a content dialog by pressing button on Main Page. So separate ContentDialog was created in standalone .xaml file for that purpose: <ContentDialog x:Class="UWP1.Views.Speech" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:local="using:UWP1.Views" xmlns:d="http://schemas.microsoft.com/expression