Skip to content

ComboBox

ProGraMajster edited this page Mar 28, 2026 · 1 revision

ComboBox

← Back to Control Inventory

Summary

Represents a ComboBox control.

Example

var comboBox = new ComboBox();
comboBox.Items.Add("Item 1");
comboBox.Items.Add("Item 2");
comboBox.SelectedIndex = 0;

Documented Properties

Name Summary
DefaultCursor No XML summary yet.
DefaultPadding No XML summary yet.
DefaultSize No XML summary yet.
DroppedDown Gets or sets whether the drop down portion of the ComboBox is currently shown.
Items Gets the collection of items contained by this ComboBox.
SelectedIndex Gets or sets the index of the currently selected item. Returns -1 if no item is selected.
SelectedItem Gets or sets the currently selected item, if any.
Style No XML summary yet.

Documented Methods

Name Summary
#ctor Initializes a new instance of the ComboBox class.
Dispose No XML summary yet.
OnClick No XML summary yet.
OnDeselected No XML summary yet.
OnDropDownClosed Raises the DropDownOpened event.
OnDropDownOpened Raises the DropDownOpened event.
OnKeyUp No XML summary yet.
OnPaint No XML summary yet.
OnSelectedIndexChanged Raises the SelectedIndexChanged event.

Documented Events

Name Summary
DropDownClosed Raised when the drop down portion of the ComboBox is closed.
DropDownOpened Raised when the drop down portion of the ComboBox is opened.
SelectedIndexChanged Raised when the value of the SelectedIndex property changes.

Notes

  • This page was generated from the public XML documentation of ModernFormsNext.
  • Base members inherited from Control, ScrollableControl, WindowBase, or other parent types may not all be repeated here.

ModernFormsNext

Clone this wiki locally