Class RadWatermarkTextBoxAutomationPeer
Represents automation peer for RadWatermarkTextBoxAutomationPeer.
Inheritance
Namespace: Telerik.Windows.Automation.Peers
Assembly: Telerik.Windows.Controls.dll
Syntax
public class RadWatermarkTextBoxAutomationPeer : TextBoxAutomationPeer, IValueProvider
Constructors
RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox)
Initializes a new instance of the Rad
Declaration
public RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox owner)
Parameters
Rad The owner. |
Properties
IsReadOnly
Gets a value that specifies whether the value of a control is read-only.
Declaration
public bool IsReadOnly { get; }
Property Value
System. true if the value is read-only; false if it can be modified. |
Value
Gets the value of the control.
Declaration
public string Value { get; }
Property Value
System. The value of the control as a string. |
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System. The type of the control. |
GetChildrenCore()
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.
|
GetItemStatusCore()
Declaration
protected override string GetItemStatusCore()
Returns
System.
|
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by System.
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
System. The type of the control. |
GetNameCore()
Declaration
protected override string GetNameCore()
Returns
System.
|
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.
|
Returns
System.
|
SetValue(String)
Sets the value of a control.
Declaration
public virtual void SetValue(string value)
Parameters
System.
|
Exceptions
System. If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date. |
System. If a new value cannot be converted from a string to a format the control recognizes. |
System. When an attempt is made to manipulate a control that is not enabled. |