Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InputLanguageChanging Event

Form.InputLanguageChanging Event

Occurs when the user attempts to change the input language for the form.

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in system.windows.forms.dll)

public event InputLanguageChangingEventHandler InputLanguageChanging
/** @event */
public void add_InputLanguageChanging (InputLanguageChangingEventHandler value)

/** @event */
public void remove_InputLanguageChanging (InputLanguageChangingEventHandler value)

JScript supports the use of events, but not the declaration of new ones.

This event occurs before the change of input language is made for the form. You can cancel the language change by setting the Cancel property of the InputLanguageChangingEventArgs passed to your event handler to false. If the event is canceled, the input language is not changed. You can use this event to determine whether the requested input language change is appropriate for your application.

For more information about handling events, see Consuming Events.

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0, 1.1, 1.0

Community Additions

© 2015 Microsoft