1. Stylelabs.M.Sdk.Models.Base.PropertyDefinitions

Class StringPropertyDefinition

A string property definition.

Inheritance

object

MemberDefinitionBase

PropertyDefinitionBase

StringPropertyDefinition

Implements

IPropertyDefinition

IMemberDefinition

Inherited Members

PropertyDefinitionBase.DefinitionType

PropertyDefinitionBase.Indexed

PropertyDefinitionBase.IsMandatory

PropertyDefinitionBase.IsMultiLanguage

PropertyDefinitionBase.IsMultiValue

PropertyDefinitionBase.IsUnique

PropertyDefinitionBase.Boost

PropertyDefinitionBase.IncludedInContent

PropertyDefinitionBase.IncludedInCompletion

MemberDefinitionBase.Name

MemberDefinitionBase.Labels

MemberDefinitionBase.HelpText

MemberDefinitionBase.IsConditional

MemberDefinitionBase.Conditions

MemberDefinitionBase.IsSystemOwned

MemberDefinitionBase.IsSecured

MemberDefinitionBase.AllowUpdates

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

PropertyDefinitionBase.DataType

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

IPropertyDefinition

IMemberDefinition

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