ClassSentenceParamAttribute
This attribute is used to decorate a property on an AutomationDescriptor to indicate that it should be a parameter as part of a SentenceEditor
Definition
Namespace:ArtOfTest.Common.Design.Extensibility
Assembly:ArtOfTest.WebAii.Design.dll
Syntax:
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
public class SentenceParamAttribute : PrimaryPropertyAttribute, _Attribute
Inheritance: objectAttributePrimaryPropertyAttributeSentenceParamAttribute
Implements:
Inherited Members
Constructors
SentenceParamAttribute(string)
Create a param using the default param editor
Declaration
public SentenceParamAttribute(string defaultText)
Parameters
defaultText
SentenceParamAttribute(string, AutomationDescriptorType)
Create a param using the default param editor
Declaration
public SentenceParamAttribute(string defaultText, AutomationDescriptorType nonAllowedTypes)
Parameters
defaultText
nonAllowedTypes
SentenceParamAttribute(string, Type)
Create the param attribute
Properties
DefaultText
The default text
DisableTextBoxEdit
Get or sets whether to enable textbox editing
IsExtractedValue
Whether this parameter is a verification subject
IsReadOnly
Gets or sets whether to make the parameter readonly.
IsVisible
Optional on the attribute. Whether the initial param is visible in the sentence or not.
StaticValueListMethod
Gets or sets the method to call to populate the list of possible values for the decorated property
Declaration
public string StaticValueListMethod { get; set; }
Property Value