次の方法で共有


PasswordBox.PasswordChanged イベント

定義

Password プロパティの値が変更されたときに発生します。

// Register
event_token PasswordChanged(RoutedEventHandler const& handler) const;

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

// Revoke with event_revoker
PasswordBox::PasswordChanged_revoker PasswordChanged(auto_revoke_t, RoutedEventHandler const& handler) const;
public event RoutedEventHandler PasswordChanged;
function onPasswordChanged(eventArgs) { /* Your code */ }
passwordBox.addEventListener("passwordchanged", onPasswordChanged);
passwordBox.removeEventListener("passwordchanged", onPasswordChanged);
- or -
passwordBox.onpasswordchanged = onPasswordChanged;
Public Custom Event PasswordChanged As RoutedEventHandler 
<PasswordBox PasswordChanged="eventhandler"/>

イベントの種類

適用対象