System.Windows.Forms.ToolStripComboBox: Method Members

The methods 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 Methods

BeginUpdate()

Maintains performance when items are added to the System.Windows.Forms.ToolStripComboBox one at a time.

EndUpdate()

Resumes painting the System.Windows.Forms.ToolStripComboBox control after painting is suspended by the ToolStripComboBox.BeginUpdate method.

FindString(string) : int

Finds the first item in the System.Windows.Forms.ToolStripComboBox that starts with the specified string.

FindString(string, int) : int

Finds the first item after the given index which starts with the given string.

FindStringExact(string) : int

Finds the first item in the System.Windows.Forms.ToolStripComboBox that exactly matches the specified string.

FindStringExact(string, int) : int

Finds the first item after the specified index that exactly matches the specified string.

GetItemHeight(int) : int

Returns the height, in pixels, of an item in the System.Windows.Forms.ToolStripComboBox.

override
GetPreferredSize(System.Drawing.Size) : System.Drawing.Size

Retrieves the size of a rectangular area into which a control can be fitted.

Select(int, int)

Selects a range of text in the editable portion of the System.Windows.Forms.ToolStripComboBox.

SelectAll()

Selects all the text in the editable portion of the System.Windows.Forms.ToolStripComboBox.

override
ToString() : string

Returns a string representation of the System.Windows.Forms.ToolStripComboBox.

Protected Methods