ClassSilverlightCommand
Class
For internal use only. Holds a command to be processed by the Silverlight client.
Definition
Namespace:ArtOfTest.WebAii.Silverlight
Assembly:ArtOfTest.WebAii.dll
Syntax:
cs-api-definition
[DataContract]
[KnownType(typeof(SilverlightCommandType))]
[KnownType(typeof(AutomationReference))]
[KnownType(typeof(AutomationProperty))]
public class SilverlightCommand
Inheritance: objectSilverlightCommand
Constructors
SilverlightCommand(SilverlightCommandType, IAutomationPeer)
Declaration
cs-api-definition
public SilverlightCommand(SilverlightCommandType type, IAutomationPeer peer)
Parameters
type
peer
Properties
Method
Gets / Sets the method to invoke
Declaration
cs-api-definition
[DataMember]
public AutomationMethod Method { get; set; }
Property Value
Property
The property to use
Declaration
cs-api-definition
[DataMember]
public AutomationProperty Property { get; set; }
Property Value
Reference
Get or set the reference
Declaration
cs-api-definition
[DataMember]
public AutomationReference Reference { get; set; }
Property Value
Reference2
Get / Set secondary reference
Declaration
cs-api-definition
[DataMember]
public AutomationReference Reference2 { get; set; }
Property Value
Type
Get or set the command type
Declaration
cs-api-definition
[DataMember]
public SilverlightCommandType Type { get; set; }
Property Value
Methods
AsString()
Return this command as a string.
FromString(string)
Declaration
cs-api-definition
public static SilverlightCommand FromString(string s)
Parameters
s
Returns