ClassCalendarSelectedDateVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Silverlight.Descriptors
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[Sentence("Calendar", "selected date is {Value}", false)]
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0")]
public class CalendarSelectedDateVerificationDescriptor : PropertyVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo, IQuickTasks, ISentenceListPreview
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorXamlVerificationDescriptorPropertyVerificationDescriptorCalendarSelectedDateVerificationDescriptor
Implements:
Inherited Members
Constructors
CalendarSelectedDateVerificationDescriptor()
Declaration
public CalendarSelectedDateVerificationDescriptor()
CalendarSelectedDateVerificationDescriptor(IFrameworkElement, string, DateTime?)
Declaration
public CalendarSelectedDateVerificationDescriptor(IFrameworkElement element, string comparison, DateTime? value)
Parameters
element
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
Methods
DemangleValue(object)
Converts the string parameter into a DateTime?
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
MangleValue(object)
Converts the DateTime? parameter into a string
OnParameterChanged(SentenceParam, Sentence)
Called when a parameter value has changed
Declaration
public override void OnParameterChanged(SentenceParam param, Sentence context)
Parameters
param
The parameter that changed
context
The context/sentence that this parameter is part of.
Overrides
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