ClassItemSubItemCountVerificationDescriptor
Definition
Namespace:ArtOfTest.WebAii.Design.IntrinsicTranslators.Xaml.Common.TreeView
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[Sentence("TreeViewItem", "sub item count is {Value}", false)]
[DataContract(Namespace = "http://artoftest.com/schemas/WebAiiDesignCanvas/2.0.0", Name = "TreeViewItemSubItemCountVerificationDescriptor")]
public class ItemSubItemCountVerificationDescriptor : PropertyVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo, IQuickTasks, ISentenceListPreview
Inheritance: objectDataBoundObjectAutomationDescriptorVerificationDescriptorXamlVerificationDescriptorPropertyVerificationDescriptorItemSubItemCountVerificationDescriptor
Implements:
Inherited Members
Constructors
ItemSubItemCountVerificationDescriptor()
Declaration
public ItemSubItemCountVerificationDescriptor()
ItemSubItemCountVerificationDescriptor(IFrameworkElement, VerificationComparer, string, object)
Declaration
public ItemSubItemCountVerificationDescriptor(IFrameworkElement element, VerificationComparer comparer, string comparison, object value)
Parameters
element
comparer
comparison
value
ItemSubItemCountVerificationDescriptor(IFrameworkElement, int)
Declaration
public ItemSubItemCountVerificationDescriptor(IFrameworkElement element, int index)
Parameters
element
index
Properties
CompareType
Declaration
[Browsable(false)]
public override XamlStringCompareType CompareType { get; set; }
Property Value
Overrides
FriendlyDescription
Get a friendly description of this descriptor to show in the scenario explorer.
Declaration
public override string FriendlyDescription { get; }
Property Value
Overrides
NumberCompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public NumberCompareType NumberCompareType { get; set; }
Property Value
Methods
ExtractData(IApplication, DescriptorValueStore)
Declaration
public override void ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
Parameters
hostApp
dataStore
Overrides
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