ClassButtonActionDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class ButtonActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorButtonActionDescriptor
Implements:
Inherited Members
Constructors
ButtonActionDescriptor(FrameworkElement)
Declaration
public ButtonActionDescriptor(FrameworkElement target)
Parameters
target
ButtonActionDescriptor(FrameworkElement, bool, ActionPoint)
Declaration
public ButtonActionDescriptor(FrameworkElement target, bool useOffset, ActionPoint clickPoint)
Parameters
target
useOffset
clickPoint
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
Offset
Declaration
[DataMember(Name = "Offset")]
public ActionPoint Offset { get; set; }
Property Value
PrimaryTargetKey
Gets the primary target key
Declaration
public override string PrimaryTargetKey { get; }
Property Value
Overrides
SimulateRealUser
Declaration
[Browsable(false)]
[DataMember(Name = "SimulateRealUser", IsRequired = false)]
public override bool SimulateRealUser { get; set; }
Property Value
Overrides
Methods
Execute(IApplication)
Declaration
public override void Execute(IApplication hostApp)
Parameters
hostApp
Overrides
ToCode()
This method is called when the user requests code generation. The framework initializes the TestMethod property of this object with a new instance that this method simply needs to add its custom codegen to it.
Declaration
public override void ToCode()
Overrides