67 references to ComboBox
System.Windows.Forms (45)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (45)
59get { return ComboBox.AutoCompleteCustomSource; } 60set { ComboBox.AutoCompleteCustomSource = value; } 69get { return ComboBox.AutoCompleteMode; } 70set { ComboBox.AutoCompleteMode = value; } 79get { return ComboBox.AutoCompleteSource; } 80set { ComboBox.AutoCompleteSource = value; } 150get { return ComboBox.DropDownHeight; } 151set { ComboBox.DropDownHeight = value; } 160get { return ComboBox.DropDownStyle; } 161set { ComboBox.DropDownStyle = value; } 168get { return ComboBox.DropDownWidth; } 169set { ComboBox.DropDownWidth = value; } 177get { return ComboBox.DroppedDown; } 178set { ComboBox.DroppedDown = value; } 187get { return ComboBox.FlatStyle; } 188set { ComboBox.FlatStyle = value; } 197get { return ComboBox.IntegralHeight; } 198set { ComboBox.IntegralHeight = value; } 213return ComboBox.Items; 223get { return ComboBox.MaxDropDownItems; } 224set { ComboBox.MaxDropDownItems = value; } 233get { return ComboBox.MaxLength; } 234set { ComboBox.MaxLength = value; } 242get { return ComboBox.SelectedIndex; } 243set { ComboBox.SelectedIndex = value; } 260get { return ComboBox.SelectedItem; } 261set { ComboBox.SelectedItem = value; } 269get { return ComboBox.SelectedText; } 270set { ComboBox.SelectedText = value; } 278get { return ComboBox.SelectionLength; } 279set { ComboBox.SelectionLength = value; } 287get { return ComboBox.SelectionStart; } 288set { ComboBox.SelectionStart = value; } 296get { return ComboBox.Sorted; } 297set { ComboBox.Sorted = value; } 310public void BeginUpdate() { ComboBox.BeginUpdate(); } 311public void EndUpdate() { ComboBox.EndUpdate(); } 312public int FindString(string? s) { return ComboBox.FindString(s); } 313public int FindString(string? s, int startIndex) { return ComboBox.FindString(s, startIndex); } 314public int FindStringExact(string? s) { return ComboBox.FindStringExact(s); } 315public int FindStringExact(string? s, int startIndex) { return ComboBox.FindStringExact(s, startIndex); } 316public int GetItemHeight(int index) { return ComboBox.GetItemHeight(index); } 317public void Select(int start, int length) { ComboBox.Select(start, length); } 318public void SelectAll() { ComboBox.SelectAll(); } 438return ComboBox.ShouldSerializeDropDownWidth();
System.Windows.Forms.Tests (22)
System\Windows\Forms\AccessibleObjects\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxControlAccessibleObjectTests.cs (3)
16ToolStripComboBoxControl control = (ToolStripComboBoxControl)toolStripComboBox.ComboBox; 29ToolStripComboBoxControl control = (ToolStripComboBoxControl)toolStripComboBox.ComboBox; 61ToolStripComboBoxControl control = (ToolStripComboBoxControl)toolStripComboBox.ComboBox;
System\Windows\Forms\ControlTests.cs (6)
959toolStrip1_ComboBox1.ComboBox.AssignParent(toolStrip1); 962bool result = form.SelectNextControl(toolStrip1_ComboBox1.ComboBox, forward: true, tabStopOnly: true, nested: true, wrap: true); 1016toolStrip2_ComboBox1.ComboBox.AssignParent(toolStrip2); 1017toolStrip2_ComboBox2.ComboBox.AssignParent(toolStrip2); 1019bool result = form.SelectNextControl(toolStrip2_ComboBox2.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true); 1024result = form.SelectNextControl(toolStrip2_ComboBox1.ComboBox, forward: false, tabStopOnly: true, nested: true, wrap: true);
System\Windows\Forms\ToolStripComboBoxTests.cs (13)
246_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDown(EventArgs.Empty); 251_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDown(EventArgs.Empty); 262_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDownClosed(EventArgs.Empty); 267_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDownClosed(EventArgs.Empty); 280_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDownStyleChanged(EventArgs.Empty); 285_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDropDownStyleChanged(EventArgs.Empty); 317_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnTextUpdate(EventArgs.Empty); 322_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnTextUpdate(EventArgs.Empty); 350_toolStripComboBox.ComboBox.Text = "Item1"; 351_toolStripComboBox.ComboBox.Select(0, 5); 365_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDoubleClick(EventArgs.Empty); 370_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnDoubleClick(EventArgs.Empty); 420_toolStripComboBox.ComboBox.Select(0, 5);