Table of Contents

Class DropDownProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Represent properties of the DropDownComponent.

public class DropDownProperties : FormComponentProperties, IFormComponentProperties
Inheritance
object
DropDownProperties
Implements
Inherited Members
Extension Methods

Constructors

DropDownProperties()

public DropDownProperties()

Properties

DataProviderType

Dynamic data source for options in the drop-down component.

The drop-down options provider type must implement the IDropDownOptionsProvider interface.

public Type DataProviderType { get; set; }

Property Value

Type

Options

Data source for options in select.

[TextAreaComponent(Label = "{$base.forms.dropdown.options.label$}", ExplanationText = "{$base.forms.dropdown.options.explanation$}")]
public string Options { get; set; }

Property Value

string

OptionsValueSeparator

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

[TextInputComponent(Label = "{$base.forms.dropdown.optionsvalueseparator.label$}", ExplanationText = "{$base.forms.dropdown.optionsvalueseparator.explanation$}")]
[RequiredValidationRule]
public string OptionsValueSeparator { get; set; }

Property Value

string

Placeholder

Text for the placeholder.

[TextInputComponent(Label = "{$base.forms.dropdown.placeholder.label$}", Tooltip = "{$base.forms.dropdown.placeholder.tooltip$}")]
public string Placeholder { get; set; }

Property Value

string