Share via


PrintTaskOptionDetails.OptionChanged Event

Definition

Raised when any one of the advanced print task options is changed.

// Register
event_token OptionChanged(TypedEventHandler<PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs const&> const& handler) const;

// Revoke with event_token
void OptionChanged(event_token const* cookie) const;

// Revoke with event_revoker
PrintTaskOptionDetails::OptionChanged_revoker OptionChanged(auto_revoke_t, TypedEventHandler<PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<PrintTaskOptionDetails,PrintTaskOptionChangedEventArgs> OptionChanged;
function onOptionChanged(eventArgs) { /* Your code */ }
printTaskOptionDetails.addEventListener("optionchanged", onOptionChanged);
printTaskOptionDetails.removeEventListener("optionchanged", onOptionChanged);
- or -
printTaskOptionDetails.onoptionchanged = onOptionChanged;
Public Custom Event OptionChanged As TypedEventHandler(Of PrintTaskOptionDetails, PrintTaskOptionChangedEventArgs) 

Event Type

Applies to