InkCanvas.SelectionMoved 이벤트
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용자가 스트로크 및/또는 요소의 선택을 이동한 후에 발생합니다.
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 .