зеркало из https://github.com/dotnet/wpf.git
1.7 KiB
1.7 KiB
Getting started with WPF for .NET
This document describes the experience of using WPF on .NET. The Developer Guide describes how to develop features and fixes for WPF.
Installation
Choose one of these options:
Creating new applications
You can create a new WPF application with dotnet new
command, using the new templates for WPF.
In your favorite console run:
dotnet new wpf -o MyWPFApp
cd MyWPFApp
dotnet run
Samples
Check out the WPF for .NET samples for HelloWorld example. The existing WPF for .NET samples have also been updated to target .NET.
Documentation
For WPF API documentation, see the .NET API Browser.
For conceptual documentation (architecture, how-tos, etc.) most of the documentation for WPF for .NET Framework applies equally well to WPF for .NET. The main differences are around project structure and lack of Designer support.
Missing features
- XAML Browser applications (XBAPs) are not supported for .NET.
- Not all .NET Framework features are supported for .NET. You can use the .NET API Portability Analyzer to see if your existing code can run on .NET.