ClassPasswordBox
Definition
Namespace:ArtOfTest.WebAii.Controls.Xaml.Wpf
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class PasswordBox : Control, IAutomationPeer, IPeerConverter, IControl, IPasswordBox, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementWpfTestElementControlPasswordBox
Implements:
Inherited Members
Constructors
PasswordBox()
Declaration
public PasswordBox()
Fields
MaxLengthProperty
Declaration
public static AutomationProperty MaxLengthProperty
Field Value
PasswordCharProperty
Declaration
public static AutomationProperty PasswordCharProperty
Field Value
PasswordProperty
AutomationProperty object for password property.
Declaration
public static AutomationProperty PasswordProperty
Field Value
Properties
Password
Get/set the password.
PasswordChar
Get/set the password char.
Methods
GetRealType()
Gets the real object type. This property returns string.empty on FrameworkElement and all subclasses that inherit from it.
SetPassword(bool, string, int, int)
Sets or types a new text into the PasswordBox.
Declaration
public void SetPassword(bool simulateRealUser, string text, int keyPressTime, int keyHoldTime)
Parameters
simulateRealUser
If true, simulates typing, otherwise simply replaces the text.
text
The text to set/type.
keyPressTime
The delay between each press.
keyHoldTime
The delay between pressing and releasing each key.
Implements