ElementHost.IsInputChar(Char) 方法

定義

確定所有的 WM_CHAR 按鍵訊息都會轉送到裝載的項目。Ensures that all WM_CHAR key messages are forwarded to the hosted element.

protected:
 override bool IsInputChar(char charCode);
protected override bool IsInputChar (char charCode);
override this.IsInputChar : char -> bool
Protected Overrides Function IsInputChar (charCode As Char) As Boolean

參數

charCode
Char

要轉送的字元。The character to forward.

傳回

Boolean

所有情況下都是 truetrue in all cases.

備註

如果裝載的專案 Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) 未處理 charCode ,則 ElementHost 控制項會使用方法處理它 ProcessDialogCharIf the hosted Windows Presentation Foundation (WPF)Windows Presentation Foundation (WPF) element does not process charCode, the ElementHost control processes it with the ProcessDialogChar method.

適用於

另請參閱