System.Windows.Forms.ComboBox.DropDownStyle Property

Gets or sets a value specifying the style of the combo box.


public ComboBoxStyle DropDownStyle { set; get; }


Documentation for this section has not yet been entered.


The ComboBox.DropDownStyle property specifies whether the list is always displayed or whether the list is displayed in a drop-down. The ComboBox.DropDownStyle property also specifies whether the text portion can be edited. See System.Windows.Forms.ComboBoxStyle for the available settings and their effects. There is no setting to always display the list and disallow entering a new value. To display a list to which no new values can be added, use a System.Windows.Forms.ListBox control.


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0,