Class StringPropertyDefinition

Current version: 3.4

A string property definition.

Inheritance
object
StringPropertyDefinition
Namespace: StylelabsStylelabs.MSdkStylelabs.M.Sdk.ModelsBasePropertyDefinitions
Assembly: Stylelabs.M.Sdk.dll
Syntax
RequestResponse
public class StringPropertyDefinition : PropertyDefinitionBase, IPropertyDefinition, IMemberDefinition

Properties

ContentType

Gets or sets describes the content should be displayed.

Declaration
RequestResponse
public StringContentType ContentType { get; set; }
Property Value
TypeDescription
StringContentType

DataSourceName

Gets or sets the name of the IDataSource to get possible values from. Is null when there is no attached datasource.

Declaration
RequestResponse
public string DataSourceName { get; set; }
Property Value
TypeDescription
string

DataType

Gets the DataType of the value for this property.

Declaration
RequestResponse
public override Type DataType { get; }
Property Value
TypeDescription
Type
Overrides

ValidationExpression

Gets or sets a regular expression that must match the value of the property. If set to null the value is not checked.

Declaration
RequestResponse
public string ValidationExpression { get; set; }
Property Value
TypeDescription
string

Implements

Do you have some feedback for us?

If you have suggestions for improving this article,