[英]How to initialize template10 infrastructure to start application
美好的一天,
我對https://github.com/Windows-XAML/Template10有問題
在My View上可以說我有一個文本框,其text屬性綁定到了我的VM(注意:我的VM從template10繼承了BindableBase:
private string _sampleText;
public string SampleText {
get { return _sampleText; }
set { this.SetProperty(ref _sampleText, value); }
}
但是每次我在文本框上輸入文本時,Im都會引用一個空引用RaisePropertyChanged的異常
我想我需要在我的app.xaml.cs上使用BootStrapper來初始化template10
那個怎么樣?
謝謝
搜索后發現您只需要安裝template10模板包: https : //marketplace.visualstudio.com/items?itemName=jerry-nixon.Template10TemplatePack
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.