logo
logo
  • Class StringPropertyDefinition

    A string property definition.

    Inheritance
    System.Object
    StringPropertyDefinition
    Namespace: Stylelabs.M.Sdk.Models.Base.PropertyDefinitions
    Assembly: Stylelabs.M.Sdk.dll
    Syntax
    public class StringPropertyDefinition : PropertyDefinitionBase, IPropertyDefinition, IMemberDefinition

    Properties

    ContentType

    Describes the content should be displayed.

    Declaration
    public StringContentType ContentType { get; set; }
    Property Value
    Type Description
    StringContentType

    DataSourceName

    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
    Type Description
    System.String

    DataType

    DataType of the value for this property.

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

    ValidationExpression

    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
    Type Description
    System.String

    Implements

    Can we improve this article ? Provide feedback