PasswordBox.Clear Method ()

 

Clears the value of the Password property.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

member Clear : unit -> unit

The value of the Password property is Empty after a call to this method.

The following example shows how to clear a PasswordBox with the Clear method.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: