共用方式為


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可能是空的。

適用於

另請參閱