4 instantiations of ToolBarButton
System.Windows.Forms.Tests (2)
System\Windows\Forms\UnsupportedTypesTests.cs (2)
57
() => new
ToolBarButton
(),
58
() => new
ToolBarButton
(text: "text"),
UnsupportedTypes (2)
CreateFrameworkTypes.cs (2)
115
new
ToolBarButton
{ Text = "toolBarButton1" },
116
new
ToolBarButton
{ Text = "toolBarButton2", Style = ToolBarButtonStyle.DropDownButton}
11 references to ToolBarButton
System.Windows.Forms (10)
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBar.ToolBarButtonCollection.cs (8)
27
public virtual
ToolBarButton
this[int index]
39
public virtual
ToolBarButton
this[string key] => throw null;
52
public int Add(
ToolBarButton
button) => throw null;
58
public void AddRange(
ToolBarButton
[] buttons) { }
62
public bool Contains(
ToolBarButton
button) => throw null;
70
public int IndexOf(
ToolBarButton
button) => throw null;
76
public void Insert(int index,
ToolBarButton
button) { }
84
public void Remove(
ToolBarButton
button) { }
System\Windows\Forms\Controls\Unsupported\ToolBar\ToolBarButtonClickEventArgs.cs (2)
22
public ToolBarButtonClickEventArgs(
ToolBarButton
button) => throw new PlatformNotSupportedException();
24
public
ToolBarButton
Button
UnsupportedTypes (1)
CreateFrameworkTypes.cs (1)
401
if (Buttons[0] is
ToolBarButton
button)