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)