ClassComboBoxSelectItemActionDescriptor
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 ComboBoxSelectItemActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorComboBoxSelectItemActionDescriptor
Implements:
Inherited Members
Constructors
ComboBoxSelectItemActionDescriptor()
Declaration
public ComboBoxSelectItemActionDescriptor()
ComboBoxSelectItemActionDescriptor(IComboBox, int, string)
Creates a new ComboBox select item ActionDescriptor
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
OpenDropDownBeforeSelection
Declaration
[DataMember]
public bool OpenDropDownBeforeSelection { get; set; }
Property Value
SelectMode
Declaration
[DataMember(Name = "SelectMode")]
[PrimaryProperty]
public ComboBoxSelectionMode SelectMode { get; set; }
Property Value
SelectedIndex
Gets or sets the index of the item this descriptor selects
Declaration
[DataDriven]
[DataMember(Name = "SelectedIndex")]
public int SelectedIndex { get; set; }
Property Value
SelectedText
Declaration
[DataDriven]
[DataMember(Name = "SelectedText")]
public string SelectedText { get; set; }
Property Value
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