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 RadWatermarkTextBoxAutomationPeer class.
Declaration
public RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox owner)
Parameters
RadWatermarkTextBox
owner
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.Boolean
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.String
The value of the control as a string. |
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by System.Windows.Automation.Peers.AutomationPeer.GetLocalizedControlType.
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
System.Windows.Automation.Peers.AutomationControlType
The type of the control. |
GetChildrenCore()
Declaration
protected override List<AutomationPeer> GetChildrenCore()
Returns
System.Collections.Generic.List<System.Windows.Automation.Peers.AutomationPeer>
|
GetClassNameCore()
Declaration
protected override string GetClassNameCore()
Returns
System.String
|
GetHelpTextCore()
Declaration
protected override string GetHelpTextCore()
Returns
System.String
|
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. |
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
System.Windows.Automation.Peers.PatternInterface
patternInterface
|
Returns
System.Object
|
SetValue(String)
Sets the value of a control.
Declaration
public virtual void SetValue(string value)
Parameters
System.String
value
|
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. |