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 .

적용 대상

추가 정보