Class StyleVerificationDescriptor
Inheritance
System.Object
StyleVerificationDescriptor
Inherited Members
AutomationDescriptor.InvokeMethod(CodeExpression, Boolean, String, CodeGenerationLanguage, Object[])
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.IntrinsicTranslators.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
[Sentence("Style", "Select {StyleSelectionType} {StyleCategory} {StyleFont} {StyleColorAndBackground} {StyleText} {StyleDisplay} {StyleBox} {StyleList} {CompareType} {Value}", false)]
[SupportsImageCapture(true)]
public class StyleVerificationDescriptor : HtmlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IExtendedParamEditorInfo, ISentenceListPreview
Constructors
StyleVerificationDescriptor()
Declaration
public StyleVerificationDescriptor()
StyleVerificationDescriptor(Element, HtmlStyleDescriptor, StringCompareType, String)
Declaration
public StyleVerificationDescriptor(Element targetElement, HtmlStyleDescriptor styleDescriptor, StringCompareType compareType, string value)
Parameters
Element
targetElement
|
HtmlStyleDescriptor
styleDescriptor
|
StringCompareType
compareType
|
System.String
value
|
Properties
CompareType
Declaration
[SentenceParam("compare?", AutomationDescriptorType.Extraction)]
public StringCompareType CompareType { get; set; }
Property Value
StringCompareType
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
PrimaryTargetKey
Declaration
public override string PrimaryTargetKey { get; }
Property Value
System.String
|
Overrides
StyleBox
Declaration
[SentenceParam("box?", IsVisible = false)]
public HtmlStyleBox StyleBox { get; set; }
Property Value
HtmlStyleBox
|
StyleCategory
Declaration
[SentenceParam("category?")]
public HtmlStyleCategory StyleCategory { get; set; }
Property Value
HtmlStyleCategory
|
StyleColorAndBackground
Declaration
[SentenceParam("color/background?", IsVisible = false)]
public HtmlStyleColorAndBackground StyleColorAndBackground { get; set; }
Property Value
HtmlStyleColorAndBackground
|
StyleDescriptor
Declaration
public HtmlStyleDescriptor StyleDescriptor { get; set; }
Property Value
HtmlStyleDescriptor
|
StyleDisplay
Declaration
[SentenceParam("display?", IsVisible = false)]
public HtmlStyleDisplay StyleDisplay { get; set; }
Property Value
HtmlStyleDisplay
|
StyleFont
Declaration
[SentenceParam("font?", IsVisible = false)]
public HtmlStyleFont StyleFont { get; set; }
Property Value
HtmlStyleFont
|
StyleList
Declaration
[SentenceParam("list?", IsVisible = false)]
public HtmlStyleList StyleList { get; set; }
Property Value
HtmlStyleList
|
StyleSelectionType
Declaration
[SentenceParam("type?")]
public HtmlStyleType StyleSelectionType { get; set; }
Property Value
HtmlStyleType
|
StyleText
Declaration
[SentenceParam("text?", IsVisible = false)]
public HtmlStyleText StyleText { get; set; }
Property Value
HtmlStyleText
|
Value
Declaration
[DataDriven]
[SentenceParam("value?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public string Value { get; set; }
Property Value
System.String
|
Methods
ExtractData(IAutomationHost, DescriptorValueStore)
Declaration
public override void ExtractData(IAutomationHost targetBrowser, DescriptorValueStore dataStore)
Parameters
IAutomationHost
targetBrowser
|
DescriptorValueStore
dataStore
|
Overrides
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
DescriptorValueStoreCollection
valuesCollection
|
Implements
GetExtendedEditorInfo(DescriptorValueStore)
Declaration
public void GetExtendedEditorInfo(DescriptorValueStore valueStore)
Parameters
DescriptorValueStore
valueStore
|
Implements
OnParameterChanged(SentenceParam, Sentence)
Declaration
public void OnParameterChanged(SentenceParam param, Sentence context)
Parameters
SentenceParam
param
|
Sentence
context
|
Implements
OnSentenceLoad(Sentence)
ToCode()
Verify(DescriptorValueStore)
Declaration
public override VerificationResult Verify(DescriptorValueStore dataStore)
Parameters
DescriptorValueStore
dataStore
|
Returns
VerificationResult
|