Questions tagged [windows-template-studio]
49 questions
2
votes
1 answer
How to add a custom font to a WPF project?
How is it possible to add a custom font to my WindowsTemplate Studio (WPF) project?
The font is placed in a own folder and that's my App.xaml code:

Florian
- 1,019
- 6
- 22
2
votes
1 answer
Pass parameter via shell when navigating in UWP application using MVVM
Have started learning UWP development by creating a Windows Template Studio application with Horizontal Navigation project type, MVVM Light design pattern and two blank pages (MainPage and StatsPage).
In the MainPage I have a list of items and I…

mcalex
- 6,628
- 5
- 50
- 80
2
votes
2 answers
class specific function within C# generics - slight mod to UWP template Observable
I'm building an app using the latest UWP (and Windows Template Studio) approach. There's a clever class called "Observable".
So, that's just the background. I want to modify the condition on line-13 so that negligible changes for doubles won't flag…

mattica
- 357
- 3
- 8
2
votes
1 answer
Windows Template Studio - Navigation
I am working on a simple UWP app. I created an app using Windows Template Studio as Navigation Pane, basic MVVM. I would like that the app starts with a start page (login page in my case) without the NavigationView control (navigation pane), then…

bartazal
- 23
- 4
1
vote
0 answers
Windows Template Studio (WinUI 3 in Desktop) - Customize TitleBar
I am a newbie and i am trying to customize the titlebar in the App. I have used Windows Template Studio to create a NavigationView Project for (winui 3 in Desktop) c#. The App does not create a MainWindow.xaml.
I've gone through the docs, which i…

Jwrite
- 19
- 1
1
vote
2 answers
WPF how to bind value to TextBox correclty with MVVM pattern
I am currently experimenting with WPF. I created a demo project using the Windows Template Studio for Visual Studio.
Now I want to add a textbox that should be saved automatically by the MVVM pattern. I added the following XAML to my settings…

Marvin Klein
- 1,436
- 10
- 33
1
vote
1 answer
How to avoid the first navigationview item focused when opening?
I'm using Windows Template Studio, and created a NavigationView.
My original thought is creating a navigatoin menu like Android, when pressing the Left button in a page, open the navigation menu, and focus on the corresponding item.
For example,…

Vincent
- 3,124
- 3
- 21
- 40
1
vote
1 answer
UWP - How to implement a data entry form in "MasterDetailsView" template?
I have a nice working MasterDetails view made with the Windows Templating Studio, and I want to use the "Noselection" state to implement a data entry form.
But... I've absolutely no idea wher to strat for that...
(I know how to force displaying of…

Fred
- 13
- 3
1
vote
1 answer
Windows Template Studio Prism Navigation
I'm using Windows Template Studio (Prism) to create a test project, but from the documentation, I'm unable to figure out navigation. I now know how to do it with MVVM Light, but had to ask, because documentation doesn't detail it. How do I navigate…

Carlo Mendoza
- 765
- 6
- 24
1
vote
2 answers
XAML viewer says to Update windows 1809, but I don't have any update
I was busy for a while, so I couldn't work with UWP enough. : )...
Today, I made project with Windows Template Studio, a powerful template.
after I created it, I clicked a XAML page. but XAML design viewer shows message that I need to update to…

Jeong Yo Han
- 551
- 4
- 16
1
vote
1 answer
Add a blank page and menu item
I've developed a working app using the Windows Template Studio.
I need to go back and add a Blank Page. I've used the Navigation Pane (Hamburger Menu) so I want it added to the menu as well.
I've tried, but can only add the Page as a new item in…

Trey Balut
- 1,355
- 3
- 19
- 39
1
vote
0 answers
Different thread exception when trying to set IPropertyNotifyChanged using MVVM Light from a secondary window
I'm using MVVM-Light with Windows Template Studio. My app works fine but when i open a view/viewmodel in a separate windows using WTS's WindowManagerService it gives me this error:
"System.Exception: 'The application called an interface that was
…

beatnikthedan
- 181
- 8
1
vote
1 answer
UWP cannot display Chinese Characters properly
I'm using the updated Windows Template Studio in VS2017 to design a UWP app. However some Chinese Characters cannot be displayed properly. If these characters are added in C#, then it works well, but when added in XAML, it becomes blocks.
This is an…

Jiahui Peng
- 67
- 1
- 5
1
vote
1 answer
Arrow Keys with Pivot Page in app with a Navigation Menu don't initially work
I know you want to see code, but the easiest way to show this problem is to create a new project after installing the new Windows Template Studio Extension. Note: if you create a project with a Navigation menu another way, the problem still exists. …

StephenR
- 95
- 6
0
votes
1 answer
How do I use the HamburgerMenuIconItem and HamburgerMenuImageItem in my ObservableCollection created by Template Studio WPF
I use Template Studio WPF to autogenerate the template of my UI.
In the "ShellViewModel" I set up the HamburgerMenuItem container
public ObservableCollection MenuItems { get; } = new ObservableCollection()
{
new…

Martin
- 41
- 4