NumberBox.ValueChanged 事件

定义

在用户通过按 Enter 键、单击旋转按钮或更改焦点触发新输入评估之后发生。

// 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) 

事件类型

适用于

另请参阅