CoreWetStrokeUpdateSource.WetStrokeStarting 事件
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
當 InkPresenter 開始處理筆墨筆劃時發生。
// Register
event_token WetStrokeStarting(TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
// Revoke with event_token
void WetStrokeStarting(event_token const* cookie) const;
// Revoke with event_revoker
CoreWetStrokeUpdateSource::WetStrokeStarting_revoker WetStrokeStarting(auto_revoke_t, TypedEventHandler<CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs const&> const& handler) const;
public event TypedEventHandler<CoreWetStrokeUpdateSource,CoreWetStrokeUpdateEventArgs> WetStrokeStarting;
function onWetStrokeStarting(eventArgs) { /* Your code */ }
coreWetStrokeUpdateSource.addEventListener("wetstrokestarting", onWetStrokeStarting);
coreWetStrokeUpdateSource.removeEventListener("wetstrokestarting", onWetStrokeStarting);
- or -
coreWetStrokeUpdateSource.onwetstrokestarting = onWetStrokeStarting;
Public Custom Event WetStrokeStarting As TypedEventHandler(Of CoreWetStrokeUpdateSource, CoreWetStrokeUpdateEventArgs)