ICorePointerRedirector 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
定義跨進程輸入處理的指標事件。
ICorePointerRedirector 介面的實作是由 CoreWindow 類別所提供。
輸入鏈結是指到達輸入界限時,父物件 (主機) 和巢狀子物件 (元件) 的互動行為。
在單一程式中,透過 直接操作) ,系統 (管理內嵌 (或巢狀) 內容。
針對跨進程鏈結,此介面中定義的指標事件會提供輸入路由詳細資料。
public interface class ICorePointerRedirector
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
/// [Windows.Foundation.Metadata.Guid(2409434260, 22152, 19212, 169, 241, 249, 49, 247, 250, 61, 195)]
struct ICorePointerRedirector
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
[Windows.Foundation.Metadata.Guid(2409434260, 22152, 19212, 169, 241, 249, 49, 247, 250, 61, 195)]
public interface ICorePointerRedirector
Public Interface ICorePointerRedirector
- 衍生
- 屬性
Windows 需求
裝置系列 |
Windows 10 (已於 10.0.10586.0 引進)
|
API contract |
Windows.Foundation.UniversalApiContract (已於 v2.0 引進)
|
事件
PointerRoutedAway |
當指標重新導向至另一個輸入物件時,會在接收指標輸入的輸入物件上發生 (可能位於個別進程) 。 |
PointerRoutedReleased |
發生在所有與輸入物件相關聯但目前未接收輸入的輸入物件上,該指標會在輸入物件上引發 CoreIndependentInputSource.PointerReleased 事件。 |
PointerRoutedTo |
發生于先前傳遞至另一個物件的擷取指標輸入時,轉換至傳遞至這個物件。 |