Class RadPasswordBoxAutomationPeer
Represents automation peer for the RadPasswordBox class.
Inherited Members
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadPasswordBoxAutomationPeer : RadWatermarkTextBoxAutomationPeer, IValueProvider, IToggleProvider
Constructors
RadPasswordBoxAutomationPeer(RadPasswordBox)
Initializes a new instance of the RadPasswordBoxAutomationPeer class.
Declaration
public RadPasswordBoxAutomationPeer(RadPasswordBox owner)
Parameters
RadPasswordBox
owner
The owner. |
Properties
ToggleState
Gets the toggle state of the control.
Declaration
public ToggleState ToggleState { get; }
Property Value
System.Windows.Automation.ToggleState
The toggle state of the control, as a value of the enumeration. |
Methods
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
Overrides
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
Overrides
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System.String
The type of the control. |
Overrides
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
|
Overrides
IsPasswordCore()
Declaration
protected override bool IsPasswordCore()
Returns
System.Boolean
|
SetValue(String)
Sets the value of a control.
Declaration
public override void SetValue(string value)
Parameters
System.String
value
|
Overrides
Exceptions
System.InvalidOperationException
If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date. |
System.ArgumentException
If a new value cannot be converted from a string to a format the control recognizes. |
System.Windows.Automation.ElementNotEnabledException
When an attempt is made to manipulate a control that is not enabled. |
Toggle()
Cycles through the toggle states of a control.
Declaration
public void Toggle()