Documentation needed for hosting WPF control in WinForms targeting .NET Core

Open
#1,441 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
38/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp

Research direction

Start with dotnet-desktop-guide/framework/wpf/advanced/walkthrough-hosting-a-wpf-composite-control-in-windows-forms.md and compare it with the WindowsFormsHostingWpfControl sample, especially FormsApp/FormsApp.csproj. Determine the .NET Core guidance and whether a corresponding sample is needed; done means the documentation clearly covers hosting the WPF control from a .NET Core WinForms app.

Written by the indexing model from the issue text.

Description

doc-idea dotnet-framework/svc Pri2 wpf/subsvc

The documentation for hosting a WPF control in WinForms is only given for .NET Framework. There needs to be parallel documentation for .NET Core.

For instance, the .NET Framework documentation says to

Add references to the following assemblies.

  • PresentationCore
  • PresentationFramework
  • System.Xaml
  • WindowsBase
  • WindowsFormsIntegration

But what is the equivalent in .NET Core?

I also took a look at the samples, but I don't see one where the WinForms app is targeting .NET Core.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Dominant language
C#
Stars
241
Forks
192
Avg merge
10h 23m
Merged PRs (30d)
6

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/docs-desktop

All issues in dotnet/docs-desktop

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.