CoreWetStrokeUpdateSource.WetStrokeStopping 事件

定义

InkPresenter 停止处理墨迹笔划,但在笔划完成 (WetStrokeCompleted) 之前发生。

// Register
event_token WetStrokeStopping(TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
CoreWetStrokeUpdateSource::WetStrokeStopping_revoker WetStrokeStopping(auto_revoke_t, TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWetStrokeUpdateSource,CoreWetStrokeUpdateEventArgs> WetStrokeStopping;
function onWetStrokeStopping(eventArgs) { /* Your code */ }
coreWetStrokeUpdateSource.addEventListener("wetstrokestopping", onWetStrokeStopping);
coreWetStrokeUpdateSource.removeEventListener("wetstrokestopping", onWetStrokeStopping);
- or -
coreWetStrokeUpdateSource.onwetstrokestopping = onWetStrokeStopping;
Public Custom Event WetStrokeStopping As TypedEventHandler(Of CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs) 

事件类型

注解

对于 WetStrokeCompletedWetStrokeCanceled 事件,NewInkPoints 始终为空。

对于 WetStrokeStopping 事件,NewInkPoints 可能为空。

适用于

另请参阅