Редагувати

Поділитися через


System.Windows.Interop Namespace

Provides supporting types for interoperation between Windows Presentation Foundation (WPF) and other technologies such as Windows APIs and provides base classes for other specific interoperation scenarios involving WPF.

Classes

ActiveXHost

Hosts an ActiveX control as an element within Windows Presentation Foundation (WPF) content.

BrowserInteropHelper

A helper class that provides information about the browser environment in which a XAML browser application (XBAP) application is hosted.

ComponentDispatcher

Enables shared control of the message pump between Win32 and WPF in interoperation scenarios.

CursorInteropHelper

Provides a static helper class for WPF/Win32 interoperation with one method, which is used to obtain a Windows Presentation Foundation (WPF) Cursor object based on a provided Win32 cursor handle.

D3DImage

An ImageSource that displays a user-created Direct3D surface.

DocObjHost

This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

DynamicScriptObject

Enables calls from a XAML browser application (XBAP) to the HTML window that hosts the application.

HwndHost

Hosts a Win32 window as an element within Windows Presentation Foundation (WPF) content.

HwndSource

Presents Windows Presentation Foundation (WPF) content in a Win32 window.

HwndTarget

Represents a binding to a window handle that supports visual composition.

Imaging

Provides managed to unmanaged interoperation support for creating image objects.

InteropBitmap

InteropBitmap enables developers to improve rendering performance of non-WPF UIs that are hosted by WPF in interoperability scenarios.

WindowInteropHelper

Assists interoperation between Windows Presentation Foundation (WPF) and Win32 code.

Structs

HwndSourceParameters

Contains the parameters that are used to create an HwndSource object using the HwndSource(HwndSourceParameters) constructor.

MSG

Contains message information from a thread's message queue.

Interfaces

IErrorPage

Defines the interaction between Windows Presentation Foundation (WPF) applications that are hosting interoperation content and interpreted by the Windows Presentation Foundation (WPF) executable, and a host supplied error page.

IKeyboardInputSink

Provides a keyboard sink for components that manages tabbing, accelerators, and mnemonics across interop boundaries and between HWNDs. This interface implements keyboard message management in WPF-Win32 interoperation scenarios.

IKeyboardInputSite

Manages keyboard focus within the container. This interface implements keyboard message management in WPF-Win32 interoperation scenarios.

IProgressPage

Defines the interaction between Windows Presentation Foundation (WPF) applications that are hosting interoperation content, and a host supplied progress page.

IWin32Window

Defines the contract for Win32 window handles.

Enums

D3DResourceType

Specifies the Direct3D surface types that are compatible with the D3DImage class.

RenderMode

Specifies the rendering preference.

Delegates

HwndSourceHook

Represents the method that handles Win32 window messages.

ThreadMessageEventHandler

Represents the method that handles the ThreadFilterMessage and ThreadPreprocessMessage events.