Skip to main content

BootstrapComboBox.DropDownStyle Property

Gets or sets a value that specifies the manner in which end users can change the edit value of the combo box editor.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

Declaration

[DefaultValue(DropDownStyle.DropDownList)]
public DropDownStyle DropDownStyle { get; set; }

Property Value

Type Default Description
DropDownStyle DropDownList

One of the DropDownStyle enumeration values.

Available values:

Name Description
DropDown

End users are allowed to change the editor’s edit value by either selecting an item from the dropdown list or entering new values into the edit box.

DropDownList

End users are allowed to change the editor’s edit value only by selecting an item from the dropdown list.

Remarks

The DropDownStyle property is set to DropDownStyle.DropDownList by default. This means that the Combo Box does not allow values that are not listed within the editor’s server-side BootstrapComboBox.Items collection. Additionally, modifications to the client-side item collection are not synchronized with the server side, regardless of the BootstrapComboBox.EnableSynchronization property’s value.

This property is a wrapper of the BootstrapComboBoxProperties.DropDownStyle property. Please refer to its description for more information.

Note

View the Demo To see this feature in action, please refer to the following online demo: DropDown Style.

See Also