다음을 통해 공유


CorrectionModeChangeEventArgs 클래스

업데이트: 2007년 11월

CorrectionModeChangingCorrectionModeChanged 이벤트에 데이터를 제공합니다.

네임스페이스:  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의 인스턴스입니다. OldModeCurrentCorrectionMode 값은 TextBox인 outputTextBox의 TextBox.Text 속성을 설정하는 데 사용됩니다. OldModeCurrentCorrectionMode에는 CorrectionMode 값 중 하나가 들어 있습니다.

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 네임스페이스