InkCanvas.SelectionResized 이벤트
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
사용자가 선택한 스트로크 및/또는 요소의 크기를 조정할 때 발생합니다.
public:
event EventHandler ^ SelectionResized;
public event EventHandler SelectionResized;
member this.SelectionResized : EventHandler
Public Custom Event SelectionResized As EventHandler
Public Event SelectionResized As EventHandler
이벤트 유형
예제
다음 예제에서는 사용자가 선택 영역의 크기를 다시 조정한 InkCanvas 후의 모든 항목을 선택 취소합니다.
void inkCanvas1_SelectionResized(object sender, EventArgs e)
{
inkCanvas1.Select(null, null);
}
Private Sub inkCanvas1_SelectionResized(ByVal sender As Object, ByVal e As EventArgs)
inkCanvas1.Select(Nothing, Nothing)
End Sub
설명
이 이벤트는 스트로크 및/또는 요소의 크기가 조정된 후에 발생합니다.
대신 스트로크 및/또는 요소의 크기를 조정하기 전에 선택 영역의 크기를 조정하는 요청을 처리해야 하는 SelectionResizing 경우 이벤트에 이벤트 처리기를 추가합니다.