Class DropDownComponentAttribute
- Namespace
- Kentico.Xperience.Admin.Base.FormAnnotations
- Assembly
- Kentico.Xperience.Admin.Base.Shared.dll
Indicates that the DropDown form component will be used for editing of this property value in the administration interface.
public class DropDownComponentAttribute : FormComponentAttribute
- Inheritance
-
objectAttributeDropDownComponentAttribute
- Inherited Members
- Extension Methods
Remarks
The underlying property must be of the type 'string'.
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.
public string Options { get; set; }
Property Value
- string
OptionsValueSeparator
String that separates values from text in Options. Default separator is a semicolon (";").
public string OptionsValueSeparator { get; set; }
Property Value
- string
Placeholder
Text for the placeholder.
public string Placeholder { get; set; }
Property Value
- string