Provides the automation peer for the RadWatermarkTextBox control, enabling UI Automation support for properties and actions related to watermark text boxes. This class implements the IValueProvider interface, allowing access to the value of the text box, including the watermark content, and enables setting its value. It supports features such as custom property retrieval, indicating control type, and value change events to enhance automation client interactions.
Definition
Namespace:Telerik.Windows.Automation.Peers
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class RadWatermarkTextBoxAutomationPeer : TextBoxAutomationPeer, IValueProvider
Inheritance: objectRadWatermarkTextBoxAutomationPeer
Derived Classes:
Implements:
Constructors
Initializes a new instance of the RadWatermarkTextBoxAutomationPeer class.
public RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox owner)
The owner.
Properties
Gets a value that specifies whether the value of a control is read-only.
public bool IsReadOnly { get; }
true if the value is read-only; false if it can be modified.
Methods
When overridden in a derived class, is called by .
protected override AutomationControlType GetAutomationControlTypeCore()
AutomationControlType
The type of the control.
When overridden in a derived class, is called by .
Gets the pattern.
public override object GetPattern(PatternInterface patternInterface)
Sets the value of a control.
public virtual void SetValue(string value)
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.