PasswordBox.PasswordChanging 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 synchronously when the text in the password box starts to change, but before it is rendered.
// 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"/>
Event Type
Windows requirements
Device family |
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v5.0)
|