Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 4 additions & 9 deletions xml/System.Windows.Forms/InputLanguageChangedEventArgs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,7 @@

An <xref:System.Windows.Forms.InputLanguageChangedEventArgs> identifies the locale and the character set of the new input language.

The <xref:System.Windows.Forms.Form.InputLanguageChanging> event precedes the <xref:System.Windows.Forms.Form.InputLanguageChanged> event.


The <xref:System.Windows.Forms.Form.InputLanguageChanging> event precedes the <xref:System.Windows.Forms.Form.InputLanguageChanged> event.

## Examples
The following example creates a new <xref:System.Windows.Forms.Form> and attaches an event handler to the <xref:System.Windows.Forms.Form.InputLanguageChanged> event. This event changes the `IMEmode` when the input language changes to Japanese.
Expand Down Expand Up @@ -76,6 +74,7 @@
<param name="charSet">The character set associated with the new input language.</param>
<summary>Initializes a new instance of the <see cref="T:System.Windows.Forms.InputLanguageChangedEventArgs" /> class with the specified locale and character set.</summary>
<remarks>To be added.</remarks>
<exception cref="T:System.ArgumentException">.NET 5.0 and later: An <see cref="T:System.Windows.Forms.InputLanguage" /> cannot be retrieved for <paramref name="culture" />.</exception>
<altmember cref="T:System.Windows.Forms.InputLanguage" />
<altmember cref="T:System.Globalization.CultureInfo" />
</Docs>
Expand Down Expand Up @@ -233,9 +232,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
This property is the Win32 character set that the user switched to. On ANSI systems, this property can be used to create fonts that can display the correct character set. On Unicode systems, you typically do not need to use this property. Instead, use the <xref:System.Globalization.CultureInfo> class for these functionalities.


This property is the Win32 character set that the user switched to. On ANSI systems, this property can be used to create fonts that can display the correct character set. On Unicode systems, you typically do not need to use this property. Instead, use the <xref:System.Globalization.CultureInfo> class for these functionalities.

## Examples
The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Form.InputLanguageChanged?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show%2A?displayProperty=nameWithType> with <xref:System.Console.WriteLine%2A?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
Expand Down Expand Up @@ -279,9 +276,7 @@
<format type="text/markdown"><![CDATA[

## Remarks
The <xref:System.Windows.Forms.InputLanguageChangedEventArgs.Culture%2A> property specifies a <xref:System.Globalization.CultureInfo> and defines a set of user preference information dependent on the language, sublanguage, country/region, and cultural conventions of the user.


The <xref:System.Windows.Forms.InputLanguageChangedEventArgs.Culture%2A> property specifies a <xref:System.Globalization.CultureInfo> and defines a set of user preference information dependent on the language, sublanguage, country/region, and cultural conventions of the user.

## Examples
The following code example demonstrates the use of this member. In the example, an event handler reports on the occurrence of the <xref:System.Windows.Forms.Form.InputLanguageChanged?displayProperty=nameWithType> event. This report helps you to learn when the event occurs and can assist you in debugging. To report on multiple events or on events that occur frequently, consider replacing <xref:System.Windows.Forms.MessageBox.Show%2A?displayProperty=nameWithType> with <xref:System.Console.WriteLine%2A?displayProperty=nameWithType> or appending the message to a multiline <xref:System.Windows.Forms.TextBox>.
Expand Down