Windows Template Studio 创建 .net core wpf应用
Windows Template Studio 创建 .net core wpf应用

首先找到官方git地址
https://github.com/microsoft/WindowsTemplateStudio
找到下载地址,安装 vs2019插件
https://aka.ms/wtsinstall
新建 WPF项目
- 新建项目 选择Windows Template Studio
  
- 选择界面布局
  
- 选择设计模式
  
- 添加页面
  
等待项目生成
WPF模版运行时 效果

模版默认4种 app 设计模版

Code Behind:代码后缀 类似于WinForms开发风格
MVVM Basic:不使用第三方MVVM框架(如mvvmlight或Prism)实现模型-视图-视图-模型(MVVM)
MVVMLight:基于mvvmlight.net的第三方MVVM框架
Prism:Prism是一个框架,用于在WPF、windows10uwp和Xamarin表单中构建松散耦合、可维护和可测试的XAML应用程序。
 
                    
                
 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号