InkPresenter.StrokesCollected 이벤트

정의

애플리케이션 스레드에서 하나 이상의 잉크 스트로크를 처리("젖은"에서 "건조")할 때 발생합니다.

기본적으로 잉크 스트로크는 대기 시간이 짧은 백그라운드 스레드에서 처리되고 그릴 때 습하게 렌더링됩니다. 스트로크가 완료되면(펜 또는 손가락을 떼거나 마우스 단추를 놓으면) 스트로크가 UI 스레드에서 처리되고 InkCanvas 계층(애플리케이션 콘텐츠 위)에 건조하게 렌더링됩니다. UI 스레드가 사용 중인 경우 스레드를 사용할 수 있게 되면 둘 이상의 잉크 스트로크가 처리(수집)될 수 있습니다.

// Register
event_token StrokesCollected(TypedEventHandler<InkPresenter, InkStrokesCollectedEventArgs const&> const& handler) const;

// Revoke with event_token
void StrokesCollected(event_token const* cookie) const;

// Revoke with event_revoker
InkPresenter::StrokesCollected_revoker StrokesCollected(auto_revoke_t, TypedEventHandler<InkPresenter, InkStrokesCollectedEventArgs const&> const& handler) const;
public event TypedEventHandler<InkPresenter,InkStrokesCollectedEventArgs> StrokesCollected;
function onStrokesCollected(eventArgs) { /* Your code */ }
inkPresenter.addEventListener("strokescollected", onStrokesCollected);
inkPresenter.removeEventListener("strokescollected", onStrokesCollected);
- or -
inkPresenter.onstrokescollected = onStrokesCollected;
Public Custom Event StrokesCollected As TypedEventHandler(Of InkPresenter, InkStrokesCollectedEventArgs) 

이벤트 유형

적용 대상

추가 정보