125 references to ToolStripControlHost
System.Windows.Forms (8)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (2)
26
:
base
(CreateControlInstance())
40
:
base
(c)
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
51
:
this
(c)
System\Windows\Forms\Controls\ToolStrips\ToolStripNumericUpDown.cs (1)
10
public ToolStripNumericUpDown() :
base
(CreateControlInstance())
System\Windows\Forms\Controls\ToolStrips\ToolStripProgressBar.cs (1)
18
:
base
(CreateControlInstance())
System\Windows\Forms\Controls\ToolStrips\ToolStripScrollButton.cs (1)
28
:
base
(CreateControlInstance(up))
System\Windows\Forms\Controls\ToolStrips\ToolStripTextBox.cs (2)
28
:
base
(CreateControlInstance())
48
:
base
(c)
System.Windows.Forms.Design (3)
System\ComponentModel\Design\DesignerActionUI.DesignerActionToolStripDropDown.cs (1)
149
_panel = new
ToolStripControlHost
(panel)
System\Windows\Forms\Design\DesignerToolStripControlHost.cs (1)
21
:
base
(c)
System\Windows\Forms\Design\ToolStripTemplateNode.cs (1)
881
_centerTextBox = new
ToolStripControlHost
(tb)
System.Windows.Forms.Tests (110)
System\Windows\Forms\AccessibleObjects\Control.ControlAccessibleObjectTests.cs (4)
1448
using ToolStripControlHost host =
new
(control);
1515
using ToolStripControlHost host =
new
(control);
1549
using ToolStripControlHost host =
new
(control);
1587
using ToolStripControlHost host =
new
(control);
System\Windows\Forms\AccessibleObjects\ToolStripAccessibleObjectTests.cs (1)
895
return new
ToolStripControlHost
(emptyLabel);
System\Windows\Forms\AccessibleObjects\ToolStripControlHost.ToolStripControlHostAccessibleObjectTests.cs (5)
23
using ToolStripControlHost toolStrip =
new
(control);
35
using ToolStripControlHost toolStrip =
new
(control);
47
using ToolStripControlHost toolStrip =
new
(control);
60
using ToolStripControlHost toolStrip =
new
(control);
73
using ToolStripControlHost toolStripControlHost =
new
(control);
System\Windows\Forms\AccessibleObjects\ToolStripItemAccessibleObjectTests.cs (1)
316
return new
ToolStripControlHost
(new Label());
System\Windows\Forms\ToolStripControlHostTests.cs (99)
140
using ToolStripControlHost item =
new
(c)
159
using ToolStripControlHost item =
new
(c);
170
using ToolStripControlHost item =
new
(c)
189
using ToolStripControlHost item =
new
(c);
200
using ToolStripControlHost item =
new
(c)
219
using ToolStripControlHost item =
new
(c);
230
using ToolStripControlHost item =
new
(c)
250
using ToolStripControlHost item =
new
(c);
258
using ToolStripControlHost item =
new
(c);
324
using ToolStripControlHost item =
new
(c);
392
using ToolStripControlHost item =
new
(c);
411
using ToolStripControlHost item =
new
(c)
430
using ToolStripControlHost item =
new
(c);
441
using ToolStripControlHost item =
new
(c);
452
using ToolStripControlHost item =
new
(c)
471
using ToolStripControlHost item =
new
(c);
498
using ToolStripControlHost item =
new
(c)
509
using ToolStripControlHost item =
new
(c);
519
using ToolStripControlHost item =
new
(c)
544
using ToolStripControlHost item =
new
(c);
558
using ToolStripControlHost item =
new
(c);
570
using ToolStripControlHost item =
new
(c);
581
using ToolStripControlHost item =
new
(c);
596
using ToolStripControlHost item =
new
(c);
615
using ToolStripControlHost item =
new
(c);
627
using ToolStripControlHost item =
new
(c);
641
using ToolStripControlHost item =
new
(c);
655
using ToolStripControlHost item =
new
(c);
665
using ToolStripControlHost item =
new
(c);
679
using ToolStripControlHost item =
new
(c);
704
using ToolStripControlHost item =
new
(c)
726
using ToolStripControlHost item =
new
(c);
746
using ToolStripControlHost item =
new
(c);
765
using ToolStripControlHost item =
new
(c)
782
using ToolStripControlHost item =
new
(c);
818
using ToolStripControlHost item =
new
(c);
827
using ToolStripControlHost item =
new
(c)
844
using ToolStripControlHost item =
new
(c);
867
using ToolStripControlHost item =
new
(c)
894
using ToolStripControlHost item =
new
(c);
929
using ToolStripControlHost item =
new
(c);
939
using ToolStripControlHost item =
new
(c);
949
using ToolStripControlHost item =
new
(c);
969
using ToolStripControlHost item =
new
(c)
990
using ToolStripControlHost item =
new
(c);
1002
using ToolStripControlHost item =
new
(c);
1028
using ToolStripControlHost item =
new
(c);
1042
using ToolStripControlHost item =
new
(c);
1068
using ToolStripControlHost item =
new
(c);
1077
using ToolStripControlHost item =
new
(c);
1143
using ToolStripControlHost item =
new
(c);
1154
using ToolStripControlHost item =
new
(c);
1171
using ToolStripControlHost item =
new
(c);
1185
using ToolStripControlHost item =
new
(c);
1202
using ToolStripControlHost item =
new
(c);
1223
using ToolStripControlHost item =
new
(c)
1245
using ToolStripControlHost item =
new
(c)
1265
using ToolStripControlHost item =
new
(c);
1276
using ToolStripControlHost item =
new
(c)
1298
using ToolStripControlHost item =
new
(c)
1320
using ToolStripControlHost item =
new
(c)
1349
using ToolStripControlHost item =
new
(c)
1549
using ToolStripControlHost item =
new
(c);
1560
using ToolStripControlHost item =
new
(c);
1580
using ToolStripControlHost item =
new
(c)
1599
using ToolStripControlHost item =
new
(c);
1636
using ToolStripControlHost item =
new
(c);
1645
using ToolStripControlHost item =
new
(c);
1674
using ToolStripControlHost item =
new
(c);
1688
using ToolStripControlHost item =
new
(c);
1717
using ToolStripControlHost item =
new
(c);
1728
using ToolStripControlHost item =
new
(c)
1750
using ToolStripControlHost item =
new
(c);
1773
using ToolStripControlHost item =
new
(c);
1819
using ToolStripControlHost item =
new
(c);
1840
using ToolStripControlHost item =
new
(c);
1861
using ToolStripControlHost item =
new
(c);
1883
using ToolStripControlHost item =
new
(c);
1919
using ToolStripControlHost item =
new
(c);
1948
using ToolStripControlHost item =
new
(c);
1971
using ToolStripControlHost item =
new
(c);
1989
using ToolStripControlHost item =
new
(c);
2010
using ToolStripControlHost item =
new
(c);
2029
using ToolStripControlHost item =
new
(c);
2049
using ToolStripControlHost item =
new
(c);
2071
using ToolStripControlHost item =
new
(c);
2090
using ToolStripControlHost item =
new
(c);
2110
using ToolStripControlHost item =
new
(c);
2130
using ToolStripControlHost item =
new
(c);
2162
using ToolStripControlHost item =
new
(c);
2181
using ToolStripControlHost item =
new
(c);
2210
using ToolStripControlHost item =
new
(c);
2231
using ToolStripControlHost item =
new
(c);
2694
using ToolStripControlHost item =
new
(c);
2704
using ToolStripControlHost item =
new
(c);
2727
using ToolStripControlHost item =
new
(c);
2742
using ToolStripControlHost item =
new
(c)
2757
using ToolStripControlHost item =
new
(c);
4633
public SubToolStripControlHost(Control c) :
base
(c)
WinFormsControlsTest (4)
ToolStripTests.cs (4)
15
toolStrip1.Items.Add(new
ToolStripControlHost
(new RadioButton() { Text = "RadioButton" })); // RadioButton supports UIA
16
toolStrip1.Items.Add(new
ToolStripControlHost
(new HScrollBar() { Value = 30 })); // HScrollBar doesn't support UIA
17
statusStrip1.Items.Add(new
ToolStripControlHost
(new RadioButton() { Text = "RadioButton" })); // RadioButton supports UIA
18
statusStrip1.Items.Add(new
ToolStripControlHost
(new HScrollBar() { Value = 30 })); // HScrollBar doesn't support UIA