Search code examples
c#uwptemplate10

How to initialize template10 infrastructure to start application


Good Day,

Im having an issue with https://github.com/Windows-XAML/Template10

on My View lets say I have a textbox and its text property is bound to my VM(Note: My VM inherited BindableBase from template10:

private string _sampleText;
    public string SampleText {
        get { return _sampleText; }
        set { this.SetProperty(ref _sampleText, value); }
    }

but every time I input a text on my text box Im having a null reference Exception from RaisePropertyChanged

I think I need to instialize template10 using BootStrapper on my app.xaml.cs

How is that?

Thanks


Solution

  • After searching found out that you just need to install template10 template pack: https://marketplace.visualstudio.com/items?itemName=jerry-nixon.Template10TemplatePack

    then just select template10 template then its all set please see image attached: enter image description here