Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

InputLanguageChangingEventArgs Class

Provides data for the InputLanguageChanging event.

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

System.Object
   System.EventArgs
      System.ComponentModel.CancelEventArgs
         System.Windows.Forms.InputLanguageChangingEventArgs

[Visual Basic]
Public Class InputLanguageChangingEventArgs
   Inherits CancelEventArgs
[C#]
public class InputLanguageChangingEventArgs : CancelEventArgs
[C++]
public __gc class InputLanguageChangingEventArgs : public
   CancelEventArgs
[JScript]
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.

Remarks

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.

Requirements

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.