System.Windows.Forms.InputLanguageChangingEventArgs Class

Provides data for the Form.InputLanguageChanging event.

See Also: InputLanguageChangingEventArgs Members

Syntax

public class InputLanguageChangingEventArgs : System.ComponentModel.CancelEventArgs

Remarks

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

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

The Form.InputLanguageChanging event precedes the Form.InputLanguageChanged event.

For information about handling events, see Consuming Events.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0