ClassPasswordBox
Wraps a PasswordBox element.
Definition
Namespace:ArtOfTest.WebAii.Silverlight.UI
Assembly:ArtOfTest.WebAii.dll
Syntax:
public class PasswordBox : Control, IAutomationPeer, IPeerConverter, IControl, IPasswordBox, IFrameworkElement, ITargetElement
Inheritance: objectAutomationObject<FrameworkElement>FrameworkElementSilverlightTestElementControlPasswordBox
Implements:
Inherited Members
Constructors
PasswordBox()
Declaration
public PasswordBox()
Fields
CaretBrushProperty
Declaration
public static AutomationProperty CaretBrushProperty
Field Value
MaxLengthProperty
Declaration
public static AutomationProperty MaxLengthProperty
Field Value
PasswordCharProperty
Declaration
public static AutomationProperty PasswordCharProperty
Field Value
PasswordProperty
Declaration
public static AutomationProperty PasswordProperty
Field Value
SelectionBackgroundProperty
Declaration
public static AutomationProperty SelectionBackgroundProperty
Field Value
SelectionForegroundProperty
Declaration
public static AutomationProperty SelectionForegroundProperty
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 password, int keyPressTime, int keyHoldTime)
Parameters
simulateRealUser
If true, simulates typing, otherwise simply replaces the password.
password
The password to set/type.
keyPressTime
The delay between each press.
keyHoldTime
The delay between pressing and releasing each key.
Implements