System.Windows.Interop Namespace

提供 Windows Presentation Foundation (WPF) 與其他技術 (例如 Windows API) 之間互通的支援類型,並且提供與 WPF 相關之其他特定互通案例的基底類別。 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.

類別

ActiveXHost

裝載 ActiveX 控制項作為 Windows Presentation Foundation (WPF) 內容內的項目。Hosts an ActiveX control as an element within Windows Presentation Foundation (WPF) content.

BrowserInteropHelper

提供瀏覽器環境相關資訊的協助程式類別,XAML 瀏覽器應用程式 (XBAP) 裝載於該環境中。A helper class that provides information about the browser environment in which a XAML browser application (XBAP) application is hosted.

ComponentDispatcher

在互通案例中,啟用 Win32 和 WPF 之間訊息提取的共用控制項。Enables shared control of the message pump between Win32 and WPF in interoperation scenarios.

CursorInteropHelper

提供靜態協助程式類別以實現 WPF/Win32 與某一個方法的互通,其可用於根據所提供的 Win32 游標控制代碼來取得 Windows Presentation Foundation (WPF) Cursor 物件。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

ImageSource顯示使用者所建立的 Direct3D 介面。An ImageSource that displays a user-created Direct3D surface.

DocObjHost

這個類型或成員支援 Windows Presentation Foundation (WPF) 基礎結構,而且不能從程式碼直接使用。This type or member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code.

DynamicScriptObject

允許從 XAML 瀏覽器應用程式 (XBAP) 呼叫裝載應用程式的 HTML 視窗。Enables calls from a XAML browser application (XBAP) to the HTML window that hosts the application.

HwndHost

在 Windows Presentation Foundation (WPF) 內容中裝載 Win32 視窗作為項目。Hosts a Win32 window as an element within Windows Presentation Foundation (WPF) content.

HwndSource

在 Win32 視窗中顯示 Windows Presentation Foundation (WPF) 內容。Presents Windows Presentation Foundation (WPF) content in a Win32 window.

HwndTarget

表示視窗控制代碼支援視覺撰寫的繫結。Represents a binding to a window handle that supports visual composition.

Imaging

提供 managed 到 unmanaged 的互通支援,以便建立影像物件。Provides managed to unmanaged interoperation support for creating image objects.

InteropBitmap

InteropBitmap 可讓開發人員改善互通性案例中 WPF 所裝載非 WPF UI 的轉譯效能。InteropBitmap enables developers to improve rendering performance of non-WPF UIs that are hosted by WPF in interoperability scenarios.

WindowInteropHelper

協助 Windows Presentation Foundation (WPF) 和 Win32 程式碼之間的互通性。Assists interoperation between Windows Presentation Foundation (WPF) and Win32 code.

結構

HwndSourceParameters

包含用於利用 HwndSource(HwndSourceParameters) 建構函式建立 HwndSource 物件的參數。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.

介面

IErrorPage

定義 Windows Presentation Foundation (WPF) 應用程式之間的互動,這些應用程式裝載由 Windows Presentation Foundation (WPF) 可執行檔解譯的交互操作內容及主機所提供的錯誤頁面。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

為元件提供鍵盤接收,這些元件會管理 Interop 界限中和 HWND 之間的定位鍵、快速鍵和助憶鍵 (Mnemonics)。Provides a keyboard sink for components that manages tabbing, accelerators, and mnemonics across interop boundaries and between HWNDs. 這個介面實作 WPF-Win32 交互操作案例中的鍵盤訊息管理。This interface implements keyboard message management in WPF-Win32 interoperation scenarios.

IKeyboardInputSite

在容器內管理鍵盤焦點。Manages keyboard focus within the container. 這個介面實作 WPF-Win32 交互操作案例中的鍵盤訊息管理。This interface implements keyboard message management in WPF-Win32 interoperation scenarios.

IProgressPage

定義 Windows Presentation Foundation (WPF) 應用程式之間的互動,這些應用程式裝載交互操作內容和主機提供的進度頁。Defines the interaction between Windows Presentation Foundation (WPF) applications that are hosting interoperation content, and a host supplied progress page.

IWin32Window

定義 Win32 視窗控制代碼的合約。Defines the contract for Win32 window handles.

列舉

D3DResourceType

指定與 D3DImage 類別相容的 Direct3D 介面型別。Specifies the Direct3D surface types that are compatible with the D3DImage class.

RenderMode

指定轉譯偏好設定。Specifies the rendering preference.

委派

HwndSourceHook

表示處理 Win32 視窗訊息的方法。Represents the method that handles Win32 window messages.

ThreadMessageEventHandler

表示處理 ThreadFilterMessageThreadPreprocessMessage 事件的方法。Represents the method that handles the ThreadFilterMessage and ThreadPreprocessMessage events.