1. StringPropertyDefinition

Class StringPropertyDefinition

A string property definition.

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

Properties

ContentType

Gets or sets describes the content should be displayed.

Declaration
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
public string DataSourceName { get; set; }
Property Value
TypeDescription
string

DataType

Gets the DataType of the value for this property.

Declaration
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
public string ValidationExpression { get; set; }
Property Value
TypeDescription
string

Implements

If you have suggestions for improving this article, let us know!