Questions tagged [template10]

Template 10 is a set of Visual Studio project templates intended for Windows 10 UWP XAML apps written in C#.

Template 10 is a set of Visual Studio project templates. They are intended to boost developer productivity by getting ~80% of the boilerplate stuff delivered in the template - things like navigation, suspension, and even a Hamburger control.

Template 10 is intended for Windows apps written in C#. You can install Template 10 by searching for "Template 10" in the Visual Studio 2015 Extension Manager. Once installed, Template 10 templates will show up in the New Project dialog.

More info can be found at the official GitHub repository.

297 questions
3
votes
1 answer

UWP (Windows 10) Background Task - Error HRESULT E_FAIL has been returned from a call to a COM component (VS2017)

I have a UWP Windows 10 app intended to function as a SignalR client. I had this working before, but recently started getting this error: Error HRESULT E_FAIL has been returned from a call to a COM component. Not sure what changed, nothing in…
codeMonkey
  • 4,134
  • 2
  • 31
  • 50
3
votes
1 answer

Hide xaml element when null

We have a UWP app using Template10. There is a textblock and textbox which show a discount. We wish to hide the textblock when ViewModel.Discount is null. In App.xaml we have defined a converter
Vague
  • 2,198
  • 3
  • 18
  • 46
3
votes
1 answer

Xaml Binding cannot see ViewModel in Template 10 app

I'm using the latest Template 10 VS extension to create a UWP Windows 10 mobile app. I've updated the template to use IOC (Autofac) so the ViewModels get resolved in the app.xaml.cs overridden INavigable ResolveForPage(Page page, NavigationService)…
Steve
  • 695
  • 10
  • 17
3
votes
1 answer

Template10 UI not refreshing after property changed

I'm working on a UWP App using the Template 10, and I don't manage to get the UI updated after a property is changed in the ViewModel. I tried to implement the Bindable base at the Model, but still doesn't work. XAML:
Carlos
  • 85
  • 5
3
votes
1 answer

How do I handle when a UWP application is closing?

Sometimes I have an open stream or an active queue that has to be properly handled when the application is closing. In WPF applications, I could use the Unloading event on the application, but in UWP I notice that such an event does not exist. How…
Jerry Nixon
  • 31,313
  • 14
  • 117
  • 233
3
votes
1 answer

Change Border Thickness on Mouse Over UWP

I am designing menu and I have list of items in VariableSizedWrapGrid as shown in figure. I want to change border thickness of Current active element on MouseOver also I want to change foreground color of title 'Business'. How should I achieve this…
3
votes
1 answer

Retrieve toast arguments from within a background task using ToastNotificationActionTrigger

I am trying to retrieve the arguments from a toast notification within a background task, however the recommended method on Microsofts website isn't working. I am registering the task as below within the OnInitialize() method of my main UWP…
sparksy64
  • 41
  • 7
3
votes
1 answer

Data Binding in UWP User Controls using Template 10

I cannot get binding to work in my app with a user control. It is a UWP app with template 10. I use the same bind in the mainpage as I do in the user control but the field in the user control does not react to changes. I have read several articles…
BeebFreak
  • 111
  • 1
  • 6
3
votes
2 answers

Shell ViewModel in Template10

I'm using Template 10 with a hamburger menu for my project. To change the buttons dynamically depending on wether the user is logged in or not, I figured I'd create a ViewModel for the Shell. Unfortunately, it would seem the DataContext is not…
LostLogic
  • 61
  • 5
3
votes
2 answers

Template 10 :Hamburger Panel color not changing

I am creating a uwp app and when i set my xaml code to this
3
votes
2 answers

Directives Necessary to kill this issue?

C:\Users\mverm\Documents\Projects\Device\XJTResourcesT10\XJTResourcesT10\Resources.System.Linq.Expressions.rd.xml(35): warning : ILTransform_0027: Method 'CreateLambda' within 'System.Linq.Expressions.Expression' could not be…
3
votes
1 answer

Sharing target Universal Apps Template10 approach in Windows 10

My app is a target app for sharing and am facing issues when the app is running and the user wants to share content. I can't use a frame from the running application because then i get a "marshalling thread" exception. The application called an…
Vivek Maskara
  • 1,073
  • 11
  • 29
3
votes
4 answers

Navigation within Page using Template10

I have problem how to implement sub-page navigation in UWP. The page is in RootFrame, which I can use on navigation. But i want to use something like this: What I want is, use Navigate…
JuP
  • 535
  • 1
  • 6
  • 23
3
votes
1 answer

Dynamic list of hamburger menu buttons

I want to create a HamburgerMenu from a dynamic list of items, preferably I'd like to bind something like a ListBox with a template to a list on my view model, and have the menu items appear dynamically. (See: http://bit.ly/1Lac78E). Attempting to…
CodingGorilla
  • 19,612
  • 4
  • 45
  • 65
3
votes
2 answers

Updating Microsoft.Xaml.Behaviors.Uwp.Managed to ver 1.1.0 breaks Template10 also Template don't pass windows store cert

after updating Microsoft.Xaml.Behaviors.Uwp.Managed to version 1.1.0 Template10 app doesn't build with error: CS0012 The type 'ActionCollection' is defined in an assembly that is not referenced. You must add a reference assembly. Also all Apps…
1
2
3
19 20