ClassSliderValueVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[Sentence("Slider", "value {Comparison} {Value}", false)]
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class SliderValueVerificationDescriptor : PropertyVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo, IQuickTasks, ISentenceListPreview
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorXamlVerificationDescriptorPropertyVerificationDescriptorSliderValueVerificationDescriptor
Implements:
Inherited Members
Constructors
SliderValueVerificationDescriptor()
Declaration
public SliderValueVerificationDescriptor()
SliderValueVerificationDescriptor(IFrameworkElement, AutomationProperty, DoubleComparer, string, object)
Declaration
public SliderValueVerificationDescriptor(IFrameworkElement element, AutomationProperty property, DoubleComparer comparer, string comparison, object value)
Parameters
element
property
comparer
comparison
value
SliderValueVerificationDescriptor(IFrameworkElement, string, double)
Declaration
public SliderValueVerificationDescriptor(IFrameworkElement element, string comparison, double value)
Parameters
element
comparison
value
Properties
Comparison
Declaration
[SentenceParam("comparison?", AutomationDescriptorType.Wait|AutomationDescriptorType.Verification|AutomationDescriptorType.Extraction, StaticValueListMethod = "PopulateComparisonList", DisableTextBoxEdit = true)]
[DataMember(Name = "Comparison")]
public string Comparison { get; set; }
Property Value
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
Methods
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Given a target element, generate an array of values for the descriptor implementing this interface.
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
valuesCollection
DescriptorValueStoreCollection
Collection to add values to
Implements
OnSentenceLoad(Sentence)
Called when the sentence is first loaded. Allows for setting initial values for each sentence if needed
Declaration
public override void OnSentenceLoad(Sentence context)
Parameters
context
The sentence context.
Overrides