PasswordBox.PasswordChanging イベント

定義

パスワード ボックス内のテキストの変更が開始され、表示される前に同期的に発生します。

// Register
event_token PasswordChanging(TypedEventHandler<PasswordBox, PasswordBoxPasswordChangingEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PasswordBox::PasswordChanging_revoker PasswordChanging(auto_revoke_t, TypedEventHandler<PasswordBox, PasswordBoxPasswordChangingEventArgs const&> const& handler) const;
public event TypedEventHandler<PasswordBox,PasswordBoxPasswordChangingEventArgs> PasswordChanging;
function onPasswordChanging(eventArgs) { /* Your code */ }
passwordBox.addEventListener("passwordchanging", onPasswordChanging);
passwordBox.removeEventListener("passwordchanging", onPasswordChanging);
- or -
passwordBox.onpasswordchanging = onPasswordChanging;
Public Custom Event PasswordChanging As TypedEventHandler(Of PasswordBox, PasswordBoxPasswordChangingEventArgs) 
<PasswordBox PasswordChanging="eventhandler"/>

イベントの種類

Windows の要件

デバイス ファミリ
Windows 10 Fall Creators Update (10.0.16299.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v5.0 で導入)

適用対象

こちらもご覧ください