ClassRadWatermarkTextBoxAutomationPeer
Represents automation peer for RadWatermarkTextBoxAutomationPeer.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadWatermarkTextBoxAutomationPeer : TextBoxAutomationPeer, IValueProvider
Inheritance: objectRadWatermarkTextBoxAutomationPeer
Derived Classes:
Implements:
Constructors
RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox)
Initializes a new instance of the RadWatermarkTextBoxAutomationPeer class.
Declaration
public RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox owner)
Parameters
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
true if the value is read-only; false if it can be modified.
Methods
GetAutomationControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override AutomationControlType GetAutomationControlTypeCore()
Returns
AutomationControlType
The type of the control.
GetChildrenCore()
Declaration
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()
Returns
List<AutomationPeer>
GetLocalizedControlTypeCore()
When overridden in a derived class, is called by .
Declaration
protected override string GetLocalizedControlTypeCore()
Returns
The type of the control.
GetPattern(PatternInterface)
Gets the pattern.
Declaration
public override object GetPattern(PatternInterface patternInterface)
Parameters
patternInterface
PatternInterface
Returns
SetValue(string)
Sets the value of a control.
Declaration
public virtual void SetValue(string value)
Parameters
value
Exceptions
If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date.
If a new value cannot be converted from a string to a format the control recognizes.
When an attempt is made to manipulate a control that is not enabled.