共用方式為


CoreWetStrokeUpdateSource.WetStrokeStarting 事件

定義

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) 

事件類型

適用於

另請參閱