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

Đang mở
#1,441 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 4 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tài liệu
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
desktop, documentation

Hướng nghiên cứu

Bắt đầu với dotnet-desktop-guide/framework/wpf/advanced/walkthrough-hosting-a-wpf-composite-control-in-windows-forms.md và so sánh tài liệu này với mẫu WindowsFormsHostingWpfControl, đặc biệt là FormsApp/FormsApp.csproj. Xác định hướng dẫn về .NET Core và liệu có cần một mẫu tương ứng hay không; được xem là hoàn tất khi tài liệu trình bày rõ cách lưu trữ WPF control từ một ứng dụng WinForms .NET Core.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C#
Star
241
Fork
192
Merge trung bình
10 giờ 23 phút
Pull request đã merge (30 ngày)
6

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của dotnet/docs-desktop

Tất cả issue của dotnet/docs-desktop

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.