Class LocationVerificationDescriptor
Inheritance
System.Object
LocationVerificationDescriptor
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.Silverlight.Descriptors
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
[Sentence("Location", "element's {VerificationType} {Comparison} {Left} {Right} {Top} {Bottom}", false)]
public class LocationVerificationDescriptor : XamlVerificationDescriptor, INotifyPropertyChanged, ICustomTypeDescriptor, IExtensibleDataObject, IInspectWebSettings, IQuickTasks, IExtendedParamEditorInfo, ISentenceListPreview
Constructors
LocationVerificationDescriptor()
Declaration
public LocationVerificationDescriptor()
LocationVerificationDescriptor(FrameworkElement, LocationVerificationDescriptor.LocationVerificationType, Rectangle)
Declaration
public LocationVerificationDescriptor(FrameworkElement target, LocationVerificationDescriptor.LocationVerificationType verificationType, Rectangle location)
Parameters
FrameworkElement
target
|
LocationVerificationDescriptor.LocationVerificationType
verificationType
|
System.Drawing.Rectangle
location
|
LocationVerificationDescriptor(FrameworkElement, LocationVerificationDescriptor.LocationVerificationType, Int32)
Declaration
public LocationVerificationDescriptor(FrameworkElement target, LocationVerificationDescriptor.LocationVerificationType verificationType, int side)
Parameters
FrameworkElement
target
|
LocationVerificationDescriptor.LocationVerificationType
verificationType
|
System.Int32
side
|
Properties
Bottom
Declaration
[SentenceParam("bottom?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public int Bottom { get; set; }
Property Value
System.Int32
|
Comparison
Declaration
[SentenceParam("comparison?", AutomationDescriptorType.Extraction | AutomationDescriptorType.Verification | AutomationDescriptorType.Wait, StaticValueListMethod = "GetCompareOptions", DisableTextBoxEdit = true)]
public string Comparison { get; set; }
Property Value
System.String
|
FriendlyDescription
Declaration
public override string FriendlyDescription { get; }
Property Value
System.String
|
Overrides
Left
Declaration
[SentenceParam("left?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public int Left { get; set; }
Property Value
System.Int32
|
RelativeTarget
RelativeTargetKey
Declaration
public virtual string RelativeTargetKey { get; }
Property Value
System.String
|
RequiredAssemblyReferences
Declaration
public override string[] RequiredAssemblyReferences { get; }
Property Value
System.String[]
|
Overrides
Right
Declaration
[SentenceParam("right?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public int Right { get; set; }
Property Value
System.Int32
|
Top
Declaration
[SentenceParam("top?", AutomationDescriptorType.Extraction, IsExtractedValue = true)]
public int Top { get; set; }
Property Value
System.Int32
|
VerificationType
Declaration
[SentenceParam("reference point?", AutomationDescriptorType.Extraction)]
public LocationVerificationDescriptor.LocationVerificationType VerificationType { get; set; }
Property Value
LocationVerificationDescriptor.LocationVerificationType
|
Methods
ExtractData(IApplication, DescriptorValueStore)
Declaration
public override void ExtractData(IApplication hostApp, DescriptorValueStore dataStore)
Parameters
IApplication
hostApp
|
DescriptorValueStore
dataStore
|
Overrides
GeneratePreviewValuesForTarget(DescriptorValueStoreCollection)
Declaration
public void GeneratePreviewValuesForTarget(DescriptorValueStoreCollection valuesCollection)
Parameters
DescriptorValueStoreCollection
valuesCollection
|
Implements
GetCompareOptions(SentenceParam)
Declaration
public object GetCompareOptions(SentenceParam sentenceParam)
Parameters
SentenceParam
sentenceParam
|
Returns
System.Object
|
GetExtendedEditorInfo(DescriptorValueStore)
Declaration
public void GetExtendedEditorInfo(DescriptorValueStore valueStore)
Parameters
DescriptorValueStore
valueStore
|
Implements
GetExtractDataVerificationType(DescriptorValueStore, Rectangle)
Declaration
public void GetExtractDataVerificationType(DescriptorValueStore dataStore, Rectangle rect)
Parameters
DescriptorValueStore
dataStore
|
System.Drawing.Rectangle
rect
|
GetQuickTasks()
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
|