У нас вы можете посмотреть бесплатно Hosting a Winform control in WPF или скачать в максимальном доступном качестве, видео которое было загружено на ютуб. Для загрузки выберите вариант из формы ниже:
Если кнопки скачивания не
загрузились
НАЖМИТЕ ЗДЕСЬ или обновите страницу
Если возникают проблемы со скачиванием видео, пожалуйста напишите в поддержку по адресу внизу
страницы.
Спасибо за использование сервиса ClipSaver.ru
In this video, we explain how to add a WinForm control in WPF. In this case, I am using Xceed Chart for Winforms, which you can download here: https://xceed.com/en/our-products/pro... Required Assemblies: System.Drawing.Common System.Windows.Forms WindowsFormsIntegration These assemblies should be available here: C:\Program Files (x86)\dotnet\shared\Microsoft.WindowsDesktop.App\8.0.0\ Code: Add a control that will act as a host in XAML: Grid x:Name="winformHost" In your .cs file, add the following using statement: using System.Windows.Forms.Integration; Create an instance of a WindowsFormsHost: var host = new WindowsFormsHost(); Add your WinForm control to the host: host.Child = Your_Control; Add the host to the XAML host: winformHost.Children.Add(host);