다음을 통해 공유


StrokesReparentedEventArgs 클래스

업데이트: 2007년 11월

StrokesReparented 이벤트에 대한 데이터를 제공합니다.

네임스페이스:  Microsoft.Ink
어셈블리:  Microsoft.Ink.Analysis(Microsoft.Ink.Analysis.dll)

구문

‘선언
Public Class StrokesReparentedEventArgs _
    Inherits EventArgs
‘사용 방법
Dim instance As StrokesReparentedEventArgs
public class StrokesReparentedEventArgs : EventArgs
public ref class StrokesReparentedEventArgs : public EventArgs
public class StrokesReparentedEventArgs extends EventArgs
public class StrokesReparentedEventArgs extends EventArgs

설명

이벤트 처리에 대한 자세한 내용은 Consuming Events를 참조하십시오.

예제

다음 예제에서는 StrokesReparented 이벤트를 처리하는 ReparentStrokes라는 메서드를 정의합니다. 이벤트 정보는 문서 모델 개체인 theDocumentModel에 전달됩니다.

이 예제에서는 문서 모델의 정의를 제공하거나 문서 모델에서 전달된 정보를 처리하는 방법을 보여 주지 않습니다.

'/ <summary>
'/ Handles the InkAnalyzer.StrokeReparented event.
'/ </summary>
'/ <param name="sender">The source of the event.</param>
'/ <param name="e">The event data.</param>
Private Sub ReparentStroke( _
    ByVal sender As Object, _
    ByVal e As Microsoft.Ink.StrokesReparentedEventArgs)

    Me.theDocumentModel.ReparentStrokes(e.ReparentedStrokes, e.SourceNode, _
    e.DestinationNode, CType(sender, Microsoft.Ink.InkAnalyzer))

End Sub 'ReparentStroke


        /// <summary>
        /// Handles the InkAnalyzer.StrokeReparented event.
        /// </summary>
        /// <param name="sender">The source of the event.</param>
        /// <param name="e">The event data.</param>
        private void ReparentStrokes(
            object sender, Microsoft.Ink.StrokesReparentedEventArgs e)
        {
            this.theDocumentModel.ReparentStroke(
                e.ReparentedStrokes, e.SourceNode, e.DestinationNode,
                (Microsoft.Ink.InkAnalyzer)sender);
        }

상속 계층 구조

System.Object
  System.EventArgs
    Microsoft.Ink.StrokesReparentedEventArgs

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

플랫폼

Windows Vista

.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.

버전 정보

.NET Framework

3.0에서 지원

참고 항목

참조

StrokesReparentedEventArgs 멤버

Microsoft.Ink 네임스페이스