New to Telerik Test StudioStart a free 30-day trial

Definition

Namespace:ArtOfTest.WebAii.Silverlight

Assembly:ArtOfTest.WebAii.dll

Syntax:

C#
[DataContract]
[KnownType(typeof(SilverlightCommandType))]
[KnownType(typeof(AutomationReference))]
[KnownType(typeof(AutomationProperty))]
public class SilverlightCommand

Inheritance: objectSilverlightCommand

C#
[DataMember]
public AutomationProperty Property { get; set; }

Constructors

C#
public SilverlightCommand(SilverlightCommandType type, IAutomationPeer peer)
Parameters:typeSilverlightCommandTypepeerIAutomationPeer

Properties

C#
[DataMember]
public AutomationMethod Method { get; set; }
C#
[DataMember]
public AutomationReference Reference { get; set; }
C#
[DataMember]
public AutomationReference Reference2 { get; set; }
C#
[DataMember]
public SilverlightCommandType Type { get; set; }
C#
[DataMember]
public string Value { get; set; }

Methods

C#
public string AsString()
Returns:

string

C#
public static SilverlightCommand FromString(string s)
Parameters:sstringReturns:

SilverlightCommand