65 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 (20)
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 (11)
242_toolStripComboBox.ComboBox.DroppedDown.Should().BeFalse(); 246_toolStripComboBox.ComboBox.DroppedDown = true; 253_toolStripComboBox.ComboBox.DroppedDown.Should().BeFalse(); 257_toolStripComboBox.ComboBox.DroppedDown = true; 258_toolStripComboBox.ComboBox.DroppedDown = false; 261_toolStripComboBox.ComboBox.IsHandleCreated.Should().BeTrue(); 274_toolStripComboBox.ComboBox.IsHandleCreated.Should().BeFalse(); 294_toolStripComboBox.ComboBox.Text = "NewText"; 295_toolStripComboBox.ComboBox.TestAccessor().Dynamic.OnTextUpdate(EventArgs.Empty); 324_toolStripComboBox.ComboBox.Text = "Item1"; 325_toolStripComboBox.ComboBox.Select(0, 5);