wpf/Documentation/getting-started.md

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:

  1. .NET 6.0 SDK (recommended)
  2. .NET 7.0 daily build (latest changes, but less stable)

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