CoreWetStrokeUpdateSource.WetStrokeStopping 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
当 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)
事件类型
注解
对于 WetStrokeCompleted 和 WetStrokeCanceled 事件,NewInkPoints 始终为空。
对于 WetStrokeStopping 事件,NewInkPoints 可能为空。