System.Windows.Forms.ToolStripComboBox: Property Members

The properties of System.Windows.Forms.ToolStripComboBox are listed below. For a list of all members, see the ToolStripComboBox Members list.

See Also: Inherited members from System.Windows.Forms.ToolStripControlHost

Public Properties

AutoCompleteCustomSourceAutoCompleteStringCollection.

Gets or sets the custom string collection to use when the ToolStripComboBox.AutoCompleteSource property is set to AutoCompleteSource.CustomSource.

AutoCompleteModeAutoCompleteMode.

Gets or sets a value that indicates the text completion behavior of the System.Windows.Forms.ToolStripComboBox.

AutoCompleteSourceAutoCompleteSource.

Gets or sets the source of complete strings used for automatic completion.

override
BackgroundImageSystem.Drawing.Image.

This property is not relevant to this class.

override
BackgroundImageLayoutImageLayout.

This property is not relevant to this class.

[read-only]
ComboBoxComboBox.

Gets a System.Windows.Forms.ComboBox in which the user can enter text, along with a list from which the user can select.

DropDownHeightint.

Gets or sets the height, in pixels, of the drop-down portion box of a System.Windows.Forms.ToolStripComboBox.

DropDownStyleComboBoxStyle.

Gets or sets a value specifying the style of the System.Windows.Forms.ToolStripComboBox.

DropDownWidthint.

Gets or sets the width, in pixels, of the drop-down portion of a System.Windows.Forms.ToolStripComboBox.

DroppedDownbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripComboBox currently displays its drop-down portion.

FlatStyleFlatStyle.

Gets or sets the appearance of the System.Windows.Forms.ToolStripComboBox.

IntegralHeightbool.

Gets or sets a value indicating whether the System.Windows.Forms.ToolStripComboBox should resize to avoid showing partial items.

[read-only]
ItemsComboBox.ObjectCollection.

Gets a collection of the items contained in this System.Windows.Forms.ToolStripComboBox.

MaxDropDownItemsint.

Gets or sets the maximum number of items to be shown in the drop-down portion of the System.Windows.Forms.ToolStripComboBox.

MaxLengthint.

Gets or sets the maximum number of characters allowed in the editable portion of a combo box.

SelectedIndexint.

Gets or sets the index specifying the currently selected item.

SelectedItemobject.

Gets or sets currently selected item in the System.Windows.Forms.ToolStripComboBox.

SelectedTextstring.

Gets or sets the text that is selected in the editable portion of a System.Windows.Forms.ToolStripComboBox.

SelectionLengthint.

Gets or sets the number of characters selected in the editable portion of the System.Windows.Forms.ToolStripComboBox.

SelectionStartint.

Gets or sets the starting index of text selected in the System.Windows.Forms.ToolStripComboBox.

Sortedbool.

Gets or sets a value indicating whether the items in the System.Windows.Forms.ToolStripComboBox are sorted.

Protected Properties

[read-only]
override
DefaultMarginPadding.

Gets the default spacing, in pixels, between the System.Windows.Forms.ToolStripComboBox and an adjacent item.

[read-only]
override
DefaultSizeSystem.Drawing.Size.

Gets the default size of the System.Windows.Forms.ToolStripComboBox.