Share via


CorrectionModeChangeEventArgs クラス

CorrectionModeChanging イベントと CorrectionModeChanged イベントにデータを提供します。

名前空間 :  Microsoft.Ink.TextInput
アセンブリ :  Microsoft.Ink (Microsoft.Ink.dll 内)

構文

'宣言
Public Class CorrectionModeChangeEventArgs _
    Inherits EventArgs
'使用
Dim instance As CorrectionModeChangeEventArgs
public class CorrectionModeChangeEventArgs : EventArgs
public ref class CorrectionModeChangeEventArgs : public EventArgs
public class CorrectionModeChangeEventArgs extends EventArgs
public class CorrectionModeChangeEventArgs extends EventArgs

次の例では、CorrectionModeChangeEventArgs の使用方法を示します。tip_CorrectionModeChanging は、CorrectionModeChanging イベントのイベント ハンドラです。tip, オブジェクトは、TextInputPanel のインスタンスです。OldMode および CurrentCorrectionMode 値を使用して、TextBox、outputTextBox の TextBox.Text プロパティを設定します。OldMode および CurrentCorrectionMode には、CorrectionMode 値の 1 つが格納されています。

Sub tip_CorrectionModeChanging(ByVal sender As Object, ByVal e As CorrectionModeChangeEventArgs)
    outputTextBox.Text += "Old Correction Mode is " + e.OldMode.ToString() + Environment.NewLine
    outputTextBox.Text += "Current Correction Mode is " + tip.CurrentCorrectionMode.ToString() + Environment.NewLine
End Sub
void tip_CorrectionModeChanging(object sender, CorrectionModeChangeEventArgs e)
{
    outputTextBox.Text += "Old Correction Mode is " + e.OldMode + Environment.NewLine;
    outputTextBox.Text += "Current Correction Mode is " + tip.CurrentCorrectionMode + Environment.NewLine;
}

継承階層

System.Object
  System.EventArgs
    Microsoft.Ink.TextInput.CorrectionModeChangeEventArgs

スレッド セーフ

この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。

プラットフォーム

Windows Vista, Windows XP SP2, Windows Server 2003

.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。

バージョン情報

.NET Framework

サポート対象 : 3.0

参照

参照

CorrectionModeChangeEventArgs メンバ

Microsoft.Ink.TextInput 名前空間