Class
RadWatermarkTextBoxAutomationPeer

Represents automation peer for RadWatermarkTextBoxAutomationPeer.

Definition

Namespace:Telerik.Windows.Automation.Peers

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class RadWatermarkTextBoxAutomationPeer : TextBoxAutomationPeer, IValueProvider

Inheritance: objectRadWatermarkTextBoxAutomationPeer

Derived Classes: RadPasswordBoxAutomationPeer

Implements: IValueProvider

Constructors

RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox)

Initializes a new instance of the RadWatermarkTextBoxAutomationPeer class.

Declaration

cs-api-definition
public RadWatermarkTextBoxAutomationPeer(RadWatermarkTextBox owner)

Parameters

owner

RadWatermarkTextBox

The owner.

Properties

IsReadOnly

Gets a value that specifies whether the value of a control is read-only.

Declaration

cs-api-definition
public bool IsReadOnly { get; }

Property Value

bool

true if the value is read-only; false if it can be modified.

Value

Gets the value of the control.

Declaration

cs-api-definition
public string Value { get; }

Property Value

string

The value of the control as a string.

Methods

GetAutomationControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override AutomationControlType GetAutomationControlTypeCore()

Returns

AutomationControlType

The type of the control.

GetChildrenCore()

Declaration

cs-api-definition
[SuppressMessage("Microsoft.Design", "CA1002:DoNotExposeGenericLists")]
protected override List<AutomationPeer> GetChildrenCore()

Returns

List<AutomationPeer>

GetClassNameCore()

Declaration

cs-api-definition
protected override string GetClassNameCore()

Returns

string

GetHelpTextCore()

Declaration

cs-api-definition
protected override string GetHelpTextCore()

Returns

string

GetItemStatusCore()

Declaration

cs-api-definition
protected override string GetItemStatusCore()

Returns

string

GetLocalizedControlTypeCore()

When overridden in a derived class, is called by .

Declaration

cs-api-definition
protected override string GetLocalizedControlTypeCore()

Returns

string

The type of the control.

GetNameCore()

Declaration

cs-api-definition
protected override string GetNameCore()

Returns

string

GetPattern(PatternInterface)

Gets the pattern.

Declaration

cs-api-definition
public override object GetPattern(PatternInterface patternInterface)

Parameters

patternInterface

PatternInterface

Returns

object

SetValue(string)

Sets the value of a control.

Declaration

cs-api-definition
public virtual void SetValue(string value)

Parameters

value

string

Exceptions

InvalidOperationException

If locale-specific information is passed to a control in an incorrect format such as an incorrectly formatted date.

ArgumentException

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.