Export (0) Print
Expand All

ElementHost.IsInputChar Method

Ensures that all WM_CHAR key messages are forwarded to the hosted element.

Namespace:  System.Windows.Forms.Integration
Assembly:  WindowsFormsIntegration (in WindowsFormsIntegration.dll)

protected override bool IsInputChar(
	char charCode
You cannot use methods in XAML.


Type: System.Char

The character to forward.

Return Value

Type: System.Boolean
true in all cases.

If the hosted Windows Presentation Foundation (WPF) element does not process charCode, the ElementHost control processes it with the ProcessDialogChar method.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0

Community Additions

© 2015 Microsoft