Skip to content

Latest commit

 

History

History
62 lines (40 loc) · 1.43 KB

File metadata and controls

62 lines (40 loc) · 1.43 KB

FlatPasswordBox

FlatPasswordBox is a TextBox which allows a user to enter a password.

Namespace: Metrolib.Controls
Assembly: Metrolib (in Metrolib.dll)

[System.Windows.TemplatePart]
[System.Windows.TemplatePart]
public class FlatPasswordBox : System.Windows.Controls.Control

Inheritance Object -> DispatcherObject -> DependencyObject -> Visual -> UIElement -> FrameworkElement -> Control -> FlatPasswordBox

Unfocused

<Metrolib:FlatPasswordBox Watermark="Enter password..." />

Image of FlatPasswordBox, Unfocused

Focused

<Metrolib:FlatPasswordBox Watermark="Enter password..." />

Image of FlatPasswordBox, Focused

Password, Focused

<Metrolib:FlatPasswordBox Password="Secret" Watermark="Enter password..." />

Image of FlatPasswordBox, Password, Focused

Password, Unfocused

<Metrolib:FlatPasswordBox Password="Secret" Watermark="Enter password..." />

Image of FlatPasswordBox, Password, Unfocused

Disabled

<Metrolib:FlatPasswordBox Password="Secret" Watermark="Enter password..." IsEnabled="False" />

Image of FlatPasswordBox, Disabled

Properties

Watermark: System.String
The watermark that is displayed for as long as no password has been entered.

Password: System.String
The password that has been entered by the user.