1 type derived from ToolStripContentPanel
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripContentPanelTests.cs (1)
2004
private class SubToolStripContentPanel :
ToolStripContentPanel
49 instantiations of ToolStripContentPanel
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (1)
31
_contentPanel = new
ToolStripContentPanel
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
18
_toolStripContentPanel =
new
();
System.Windows.Forms.Tests (47)
System\Windows\Forms\ToolStripContentPanelRenderEventArgsTests.cs (3)
17
yield return new object[] { null, new
ToolStripContentPanel
() };
32
using ToolStripContentPanel toolStripContentPanel =
new
();
46
using ToolStripContentPanel panel =
new
();
System\Windows\Forms\ToolStripContentPanelTests.cs (42)
128
using ToolStripContentPanel control =
new
()
247
using ToolStripContentPanel control =
new
()
278
using ToolStripContentPanel control =
new
()
337
using ToolStripContentPanel control =
new
()
366
using ToolStripContentPanel control =
new
()
408
using ToolStripContentPanel control =
new
();
433
using ToolStripContentPanel control =
new
()
473
using ToolStripContentPanel control =
new
();
495
using ToolStripContentPanel control =
new
()
525
using ToolStripContentPanel control =
new
();
556
using ToolStripContentPanel control =
new
()
610
using ToolStripContentPanel control =
new
()
638
using ToolStripContentPanel control =
new
()
688
using ToolStripContentPanel control =
new
();
724
using ToolStripContentPanel control =
new
()
743
using ToolStripContentPanel control =
new
();
772
using ToolStripContentPanel control =
new
();
780
using ToolStripContentPanel control =
new
()
801
using ToolStripContentPanel control =
new
()
840
using ToolStripContentPanel control =
new
()
856
using ToolStripContentPanel control =
new
()
895
using ToolStripContentPanel control =
new
();
912
using ToolStripContentPanel control =
new
();
985
using ToolStripContentPanel control =
new
();
1040
using ToolStripContentPanel control =
new
()
1065
using ToolStripContentPanel control =
new
()
1096
using ToolStripContentPanel control =
new
()
1112
using ToolStripContentPanel control =
new
();
1244
using ToolStripContentPanel control =
new
();
1289
using ToolStripContentPanel control =
new
();
1368
using ToolStripContentPanel control =
new
();
1421
using ToolStripContentPanel control =
new
();
1428
using ToolStripContentPanel control =
new
();
1494
using ToolStripContentPanel control =
new
()
1510
using ToolStripContentPanel control =
new
()
1548
using ToolStripContentPanel control =
new
();
1556
using ToolStripContentPanel control =
new
()
1578
using ToolStripContentPanel control =
new
();
1614
using ToolStripContentPanel control =
new
()
1712
using ToolStripContentPanel control =
new
()
1734
using ToolStripContentPanel control =
new
();
1755
using ToolStripContentPanel control =
new
()
System\Windows\Forms\ToolStripRendererTests.cs (2)
661
yield return new object[] { new ToolStripContentPanelRenderEventArgs(graphics, new
ToolStripContentPanel
()) };
681
yield return new object[] { new
ToolStripContentPanel
() };
67 references to ToolStripContentPanel
System.Windows.Forms (9)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (2)
17
private readonly
ToolStripContentPanel
_contentPanel;
169
public
ToolStripContentPanel
ContentPanel
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (3)
13
private readonly Type _contentPanelType = typeof(
ToolStripContentPanel
);
45
if (value is ToolStripPanel or
ToolStripContentPanel
)
61
if (child is ToolStripPanel or
ToolStripContentPanel
)
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanelRenderEventArgs.cs (2)
13
public ToolStripContentPanelRenderEventArgs(Graphics g,
ToolStripContentPanel
contentPanel)
27
public
ToolStripContentPanel
ToolStripContentPanel { get; }
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
807
ToolStripContentPanel
toolStripContentPanel = e.ToolStripContentPanel;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
574
protected internal virtual void InitializeContentPanel(
ToolStripContentPanel
contentPanel)
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (2)
19
private
ToolStripContentPanel
? _contentToolStripPanel;
201
private PanelDesigner? GetDesigner(
ToolStripContentPanel
panel) => _designerHost.GetDesigner(panel) as PanelDesigner;
System\Windows\Forms\Design\ToolStripContentPanelDesigner.cs (2)
58
ToolStripContentPanel
? panel = Component as
ToolStripContentPanel
;
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1484
if (parentPanel is null && parent is
ToolStripContentPanel
)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
13
private readonly
ToolStripContentPanel
_toolStripContentPanel;
System.Windows.Forms.Tests (52)
System\Windows\Forms\ToolStripContentPanelRenderEventArgsTests.cs (3)
22
public void ToolStripContentPanelRenderEventArgs_Null_Graphics_ToolStripContentPanel_ThrowsArgumentNullException(Graphics g,
ToolStripContentPanel
toolStripContentPanel)
32
using
ToolStripContentPanel
toolStripContentPanel = new();
46
using
ToolStripContentPanel
panel = new();
System\Windows\Forms\ToolStripContentPanelTests.cs (47)
128
using
ToolStripContentPanel
control = new()
247
using
ToolStripContentPanel
control = new()
278
using
ToolStripContentPanel
control = new()
337
using
ToolStripContentPanel
control = new()
366
using
ToolStripContentPanel
control = new()
408
using
ToolStripContentPanel
control = new();
433
using
ToolStripContentPanel
control = new()
473
using
ToolStripContentPanel
control = new();
495
using
ToolStripContentPanel
control = new()
525
using
ToolStripContentPanel
control = new();
556
using
ToolStripContentPanel
control = new()
610
using
ToolStripContentPanel
control = new()
638
using
ToolStripContentPanel
control = new()
670
ToolStripContentPanel
control = parent.ContentPanel;
688
using
ToolStripContentPanel
control = new();
724
using
ToolStripContentPanel
control = new()
743
using
ToolStripContentPanel
control = new();
772
using
ToolStripContentPanel
control = new();
780
using
ToolStripContentPanel
control = new()
801
using
ToolStripContentPanel
control = new()
840
using
ToolStripContentPanel
control = new()
856
using
ToolStripContentPanel
control = new()
895
using
ToolStripContentPanel
control = new();
912
using
ToolStripContentPanel
control = new();
985
using
ToolStripContentPanel
control = new();
1040
using
ToolStripContentPanel
control = new()
1065
using
ToolStripContentPanel
control = new()
1096
using
ToolStripContentPanel
control = new()
1112
using
ToolStripContentPanel
control = new();
1244
using
ToolStripContentPanel
control = new();
1289
using
ToolStripContentPanel
control = new();
1368
using
ToolStripContentPanel
control = new();
1421
using
ToolStripContentPanel
control = new();
1428
using
ToolStripContentPanel
control = new();
1435
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStripContentPanel
))[nameof(
ToolStripContentPanel
.RenderMode)];
1463
PropertyDescriptor property = TypeDescriptor.GetProperties(typeof(
ToolStripContentPanel
))[nameof(
ToolStripContentPanel
.RenderMode)];
1494
using
ToolStripContentPanel
control = new()
1510
using
ToolStripContentPanel
control = new()
1548
using
ToolStripContentPanel
control = new();
1556
using
ToolStripContentPanel
control = new()
1578
using
ToolStripContentPanel
control = new();
1614
using
ToolStripContentPanel
control = new()
1712
using
ToolStripContentPanel
control = new()
1734
using
ToolStripContentPanel
control = new();
1755
using
ToolStripContentPanel
control = new()
System\Windows\Forms\ToolStripRendererTests.cs (2)
686
public void ToolStripRenderer_InitializeContentPanel_Invoke_Nop(
ToolStripContentPanel
contentPanel)
1025
public new void InitializeContentPanel(
ToolStripContentPanel
contentPanel) => base.InitializeContentPanel(contentPanel);