Class PasswordBox
Implements Password Box, Text Box like control for password input
Inherited Members
Namespace: EmptyKeys.UserInterface.Controls
Assembly: EmptyKeys.UserInterface.dll
Syntax
public class PasswordBox : TextBox
Constructors
PasswordBox()
Initializes a new instance of the PasswordBox class.
Declaration
public PasswordBox()
Fields
PasswordCharProperty
The password character property
Declaration
public static readonly DependencyProperty PasswordCharProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
PasswordProperty
The password property
Declaration
public static readonly DependencyProperty PasswordProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
Password
Gets or sets the password.
Declaration
public string Password { get; set; }
Property Value
Type | Description |
---|---|
System.String | The password. |
PasswordChar
Gets or sets the password character.
Declaration
public char PasswordChar { get; set; }
Property Value
Type | Description |
---|---|
System.Char | The password character. |
Methods
OnTextPropertyChanged(String, String)
Called when [text property changed].
Declaration
protected override void OnTextPropertyChanged(string oldText, string newText)
Parameters
Type | Name | Description |
---|---|---|
System.String | oldText | The old text. |
System.String | newText | The new text. |