BootstrapComboBoxProperties.DropDownStyle Property

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

Namespace: DevExpress.Web.Bootstrap

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

Declaration

[DefaultValue(DropDownStyle.DropDownList)]
public DropDownStyle DropDownStyle { get; set; }
<DefaultValue(DropDownStyle.DropDownList)>
Public Property DropDownStyle As DropDownStyle

Property Value

Type Default Description
DropDownStyle

DropDownList

One of the DropDownStyle enumeration values.

Remarks

Use the DropDownStyle property to control the manner in which the combo box editor allows end users to manipulate its edit value. Depending upon this property's value, users can change the edit value by simply selecting an item from among the predefined items (DropDownStyle.DropDownList) or they can also input new values into the editor's edit box (DropDownStyle.DropDown).

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.

NOTE

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

The DropDownStyle property synchronizes its value with the editor's BootstrapComboBox.DropDownStyle property.

See Also