ClassCheckBoxStateVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[Sentence("Toggle State", "toggle state is {Value}", false)]
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class CheckBoxStateVerificationDescriptor : PropertyVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo, IQuickTasks, ISentenceListPreview
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorXamlVerificationDescriptorPropertyVerificationDescriptorCheckBoxStateVerificationDescriptor
Implements:
Inherited Members
Constructors
CheckBoxStateVerificationDescriptor()
Declaration
public CheckBoxStateVerificationDescriptor()
CheckBoxStateVerificationDescriptor(IFrameworkElement, AutomationProperty, VerificationComparer, string, object)
Declaration
public CheckBoxStateVerificationDescriptor(IFrameworkElement target, AutomationProperty property, VerificationComparer comparer, string comparison, object value)
Parameters
target
property
comparer
comparison
value
Properties
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
Value
Declaration
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
[DataDriven]
[DataMember(Name = "Value")]
public ToggleButtonState Value { get; set; }
Property Value
Methods
DemangleValue(object)
Converts ToggleButtonState param to bool?
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
IsDataBound(string)
Gets whether a property of this descriptor is data bound or not.
MangleValue(object)
Converts bool? param to ToggleButtonState enum
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