Class
SentenceParam

Represents a parameter in a sentence editor

Definition

Namespace:ArtOfTest.Common.Design.Extensibility

Assembly:ArtOfTest.WebAii.Design.dll

Syntax:

cs-api-definition
public sealed class SentenceParam : INotifyPropertyChanged

Inheritance: objectSentenceParam

Implements: INotifyPropertyChanged

Constructors

SentenceParam(string, bool)

Create a new SentenceParam using the default sentence param editor

Declaration

cs-api-definition
public SentenceParam(string defaultText, bool isReadOnly)

Parameters

defaultText

string

isReadOnly

bool

Properties

AlternatePropertyName

Declaration

cs-api-definition
public string AlternatePropertyName { get; set; }

Property Value

string

Converter

Gets the type converter associated with this parameter

Declaration

cs-api-definition
public TypeConverter Converter { get; }

Property Value

TypeConverter

DefaultText

Declaration

cs-api-definition
public string DefaultText { get; set; }

Property Value

string

DisableTextBoxEdit

Declaration

cs-api-definition
public bool DisableTextBoxEdit { get; set; }

Property Value

bool

IsExtractedValue

Declaration

cs-api-definition
public bool IsExtractedValue { get; set; }

Property Value

bool

IsReadOnly

Declaration

cs-api-definition
public bool IsReadOnly { get; set; }

Property Value

bool

IsSet

Declaration

cs-api-definition
public bool IsSet { get; }

Property Value

bool

IsVisible

Declaration

cs-api-definition
public bool IsVisible { get; set; }

Property Value

bool

Property

Declaration

cs-api-definition
public PropertyInfo Property { get; set; }

Property Value

PropertyInfo

StaticValueListMethod

Gets or sets the descriptor method to call to get a list of possible values for this parameter

Declaration

cs-api-definition
public string StaticValueListMethod { get; set; }

Property Value

string

Value

Declaration

cs-api-definition
public object Value { get; set; }

Property Value

object

Methods

GetVisual()

Get the Visual that will render this parameter.

Declaration

cs-api-definition
public ISentenceParamVisual GetVisual()

Returns

ISentenceParamVisual

Events

PropertyChanged

Declaration

cs-api-definition
public event PropertyChangedEventHandler PropertyChanged

Event Value

PropertyChangedEventHandler

Implements INotifyPropertyChanged.PropertyChanged