Class
AutomationProperty

Represents a property on an AutomationObject.

Definition

Namespace:ArtOfTest.WebAii.Silverlight

Assembly:ArtOfTest.WebAii.dll

Syntax:

cs-api-definition
[DataContract]
public class AutomationProperty

Inheritance: objectAutomationProperty

Constructors

AutomationProperty(string, Type)

Create a new AutomationProperty

Declaration

cs-api-definition
public AutomationProperty(string propertyName, Type propertyType)

Parameters

propertyName

string

The property name.

propertyType

Type

The property type.

Properties

Index

Gets or sets the property type.

Declaration

cs-api-definition
[DataMember]
public int? Index { get; set; }

Property Value

int?

Name

Gets or sets the property name.

Declaration

cs-api-definition
[DataMember]
public string Name { get; set; }

Property Value

string

Type

Gets or sets the property type.

Declaration

cs-api-definition
public Type Type { get; set; }

Property Value

Type

TypeName

The name of the type this AutomationObject represents.

Declaration

cs-api-definition
[DataMember]
public string TypeName { get; set; }

Property Value

string

Methods

Clone()

Returns a clone of this AutomationProperty.

Declaration

cs-api-definition
public AutomationProperty Clone()

Returns

AutomationProperty

The cloned AutomationProperty

IsAutomationPeer()

Whether this object is an AutomationObject or not.

Declaration

cs-api-definition
public bool IsAutomationPeer()

Returns

bool

True/False whether or not this object is an AutomationObject