ClassSelectItemActionDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Xaml.Common.Descriptors.AutoCompleteBox
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0", Name = "AutoCompleteBoxSelectItemActionDescriptor")]
public class SelectItemActionDescriptor : XamlActionDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings
Inheritance: objectDataBoundObjectAutomationDescriptorActionDescriptorXamlActionDescriptorSelectItemActionDescriptor
Implements:
Inherited Members
Constructors
SelectItemActionDescriptor(IFrameworkElement, int, string)
Creates a new AutoCompleteBox select item ActionDescriptor
Declaration
public SelectItemActionDescriptor(IFrameworkElement box, int index, string text)
Parameters
box
The AutoCompleteBox this descriptor targets.
index
text
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
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