InputLanguageChangingEventArgs Class
Collapse the table of content
Expand the table of content

InputLanguageChangingEventArgs Class

Provides data for the InputLanguageChanging event.

For a list of all members of this type, see InputLanguageChangingEventArgs Members.


[Visual Basic]
Public Class InputLanguageChangingEventArgs
   Inherits CancelEventArgs
public class InputLanguageChangingEventArgs : CancelEventArgs
public __gc class InputLanguageChangingEventArgs : public
public class InputLanguageChangingEventArgs extends CancelEventArgs

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


You can use the data from the InputLanguageChangingEventArgs to prepare to change Input Method Editors (IMEs) or swap right-to-left values. You can also change a thread's CurrentCulture and CurrentUICulture properties so that different resources get picked up. To prevent the input language from changing, set the Cancel property to true.

An InputLanguageChangingEventArgs identifies the requested input language and the character set of new input language. The Culture property identifies the locale of the requested language.

The InputLanguageChanging event precedes the InputLanguageChanged event.

For information about handling events, see Consuming Events.


Namespace: System.Windows.Forms

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: System.Windows.Forms (in System.Windows.Forms.dll)

See Also

InputLanguageChangingEventArgs Members | System.Windows.Forms Namespace | InputLanguage | InputLanguageChangedEventArgs

© 2015 Microsoft