Table of Contents

Class MultiSelectorProperties

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Represents properties of a component which can select multiple values.

public class MultiSelectorProperties : FormComponentProperties<string>
Inheritance
object
MultiSelectorProperties
Derived
Inherited Members
Extension Methods

Constructors

MultiSelectorProperties()

Initializes a new instance of the MultiSelectorProperties class.

public MultiSelectorProperties()

Remarks

The constructor initializes the base class to data type LongText.

Properties

DataSource

Gets or sets the data populated in MultiSelectorFormComponent<TProperties> represented by a string.

[EditingComponent("Kentico.TextArea", Label = "{$kentico.formbuilder.component.selector.properties.options$}", Tooltip = "{$kentico.formbuilder.component.selector.properties.options.tooltip$}")]
public string DataSource { get; set; }

Property Value

string

DataSourceValueSeparator

Gets or sets a string that separates values from text in DataSource. Default separator is a semicolon (";").

[EditingComponent("Kentico.TextInput", Label = "{$kentico.formbuilder.component.selector.properties.datasourceseparator$}", Tooltip = "{$kentico.formbuilder.component.selector.properties.datasourceseparator.tooltip$}")]
[Required]
public string DataSourceValueSeparator { get; set; }

Property Value

string

DefaultValue

Gets or sets the default value of the component.

[DefaultValueEditingComponent("Kentico.TextInput", Label = "{$kentico.formbuilder.defaultvalue.multiple$}", Tooltip = "{$kentico.formbuilder.defaultvalue.multiple.tooltip$}")]
public override string DefaultValue { get; set; }

Property Value

string