Class SelectorProperties
Provides basic component support for selectors.
public class SelectorProperties : FormComponentProperties<string>
- Inheritance
-
objectFormComponentProperties<string>SelectorProperties
- Derived
- Inherited Members
- Extension Methods
Constructors
SelectorProperties()
Initializes a new instance of the SelectorProperties class.
public SelectorProperties()
Remarks
The constructor initializes the base class to data type Text.
Properties
DataSource
Gets or sets the data populated in SelectorFormComponent<TProperties> represented by 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$}", DefaultValue = ";")]
[Required]
public string DataSourceValueSeparator { get; set; }
Property Value
- string
DefaultValue
Gets or sets the default value of the component.
[DefaultValueEditingComponent("Kentico.TextInput")]
public override string DefaultValue { get; set; }
Property Value
- string