Skip to Content
Windows Presentation Foundation Development Cookbook
book

Windows Presentation Foundation Development Cookbook

by Kunal Chowdhury
February 2018
Intermediate to advanced
524 pages
9h 24m
English
Packt Publishing
Content preview from Windows Presentation Foundation Development Cookbook
Interoperability with Win32 and WinForm

In this chapter, we will cover the following recipes:

  • Hosting WinForm controls in WPF applications
  • Hosting WPF controls in WinForm applications
  • Calling Win32 APIs from WPF applications
  • Embedding ActiveX controls in WPF applications

Introduction

The term interoperability describes the capability of different applications to exchange data via a common set of exchangeable formats. It is a characteristic of the product or system, whose interfaces are completely understood, to work with other products or systems.

WPF and Windows Forms present two different architectures for creating application interfaces. The WindowsFormsHost and ElementHost classes are used to implement the interoperation capabilities ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Windows Presentation Foundation 4.5 Cookbook

Windows Presentation Foundation 4.5 Cookbook

Pavel Yosifovich

Publisher Resources

ISBN: 9781788399807Supplemental Content