Share via


NumberBox.ValueChanged Event

Definition

Occurs after the user triggers evaluation of new input by pressing the Enter key, clicking a spin button, or by changing focus.

// Register
event_token ValueChanged(TypedEventHandler<NumberBox, NumberBoxValueChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
NumberBox::ValueChanged_revoker ValueChanged(auto_revoke_t, TypedEventHandler<NumberBox, NumberBoxValueChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<NumberBox,NumberBoxValueChangedEventArgs> ValueChanged;
function onValueChanged(eventArgs) { /* Your code */ }
numberBox.addEventListener("valuechanged", onValueChanged);
numberBox.removeEventListener("valuechanged", onValueChanged);
- or -
numberBox.onvaluechanged = onValueChanged;
Public Custom Event ValueChanged As TypedEventHandler(Of NumberBox, NumberBoxValueChangedEventArgs) 

Event Type

Applies to

See also