Click or drag to resize
DropDownComponent Properties

The DropDownComponent type exposes the following members.

Properties
  NameDescription
Public propertyBaseProperties
Gets the form component's properties as its base type.
(Inherited from FormComponentTProperties, TValue.)
Public propertyCustomAutopostHandling
If true, prevents built-in visibility condition handling for this component.
(Inherited from FormComponent.)
Public propertyDefinition
Gets or sets the definition under which the form component is registered in the system.
(Inherited from FormComponent.)
Public propertyHasDependingFields
Gets or sets a value indicating whether there are another form components whose visibility condition depends on this component's value.
(Inherited from FormComponent.)
Public propertyHtmlOptions
Gets the collection of items populated in component.
(Inherited from SelectorFormComponentTProperties.)
Public propertyItems Obsolete.
Gets the collection of items populated in component.

This property is obsolete. Use HtmlOptions property instead. Use ToSelectListItems(IEnumerableHtmlOptionItem) extension method to map an enumeration of HtmlOptionItem to enumeration of SelectListItem within Razor views.

(Inherited from SelectorFormComponentTProperties.)
Public propertyLabelForPropertyName
Gets name of the SelectedValue property.
(Inherited from SelectorFormComponentTProperties.)
Public propertyName
Gets or sets the name of the corresponding form field. The name is used as a prefix when naming the HTML input.
(Inherited from FormComponent.)
Public propertyProperties
Gets the form component's properties.
(Inherited from FormComponentTProperties, TValue.)
Public propertyPropertiesType
Gets the properties type of the form component.
(Inherited from FormComponent.)
Public propertySelectedValue
Gets or sets value selected by component.
(Inherited from SelectorFormComponentTProperties.)
Public propertyShowPartialValidationMessages
Also shows validation errors of partial values of the component. If false, each individual component should contain validation message in its partial view.
(Inherited from FormComponent.)
Top
See Also