Class
DesktopValuePattern

Represents value pattern.

Definition

Namespace:ArtOfTest.WebAii.DesktopAutomation.Patterns

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
public class DesktopValuePattern : DesktopPattern

Inheritance: objectDesktopPatternDesktopValuePattern

Inherited Members DesktopPattern.elementDesktopPattern.EnumNativeArray(IUIAutomationElementArray)DesktopPattern.GetNativePattern<T>(int)

Constructors

DesktopValuePattern(DesktopElement)

Create new instance of DesktopValuePattern class.

Declaration

cs-api-definition
public DesktopValuePattern(DesktopElement element)

Parameters

element

DesktopElement

Underlying element.

Properties

IsReadOnly

Indicates whether underlying element is read only or not.

Declaration

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

Property Value

bool

Value

Value of underlying element.

Declaration

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

Property Value

string

Methods

SetValue(string)

Set value of underlying element.

Declaration

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

Parameters

value

string

New value.