NumberBox.ValueChanged Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)