InkCanvas.SelectionMoved 이벤트

정의

사용자가 스트로크 및/또는 요소 선택 영역을 이동한 후 발생합니다.

public:
 event EventHandler ^ SelectionMoved;
public event EventHandler SelectionMoved;
member this.SelectionMoved : EventHandler 
Public Custom Event SelectionMoved As EventHandler 
Public Event SelectionMoved As EventHandler 

이벤트 유형

예제

다음 예제에서는 사용자가 항목을 이동한 InkCanvas 후 에서 항목을 선택 취소합니다.

// Unselect the items on the InkCanvas once the user has moved them.
void inkCanvas1_SelectionMoved(object sender, EventArgs e)
{
    inkCanvas1.Select(null, null);
}
' Unselect the items on the InkCanvas once the user has moved them.
Private Sub inkCanvas1_SelectionMoved(ByVal sender As Object, ByVal e As EventArgs)

    inkCanvas1.Select(Nothing, Nothing)

End Sub

설명

이 이벤트는 스트로크 및/또는 요소를 선택한 후 새 위치를 기록하도록 스트로크 또는 요소 데이터가 업데이트되기 전에 발생합니다. 이벤트에 이벤트 처리기를 추가합니다 SelectionMoving .

적용 대상

추가 정보