1 type derived from ToolStripPanel
System.Windows.Forms.Tests (1)
System\Windows\Forms\ToolStripPanelTests.cs (1)
355
private class SubToolStripPanel :
ToolStripPanel
25 instantiations of ToolStripPanel
System.Windows.Forms (4)
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (4)
27
_topPanel = new
ToolStripPanel
(this);
28
_bottomPanel = new
ToolStripPanel
(this);
29
_leftPanel = new
ToolStripPanel
(this);
30
_rightPanel = new
ToolStripPanel
(this);
System.Windows.Forms.Tests (21)
System\Windows\Forms\AccessibleObjects\ToolStripPanel.ToolStripPanelAccessibleObjectTests.cs (2)
14
using ToolStripPanel control =
new
();
24
using ToolStripPanel control =
new
();
System\Windows\Forms\ToolStripPanel.ToolStripPanelRowCollectionTests.cs (1)
17
_toolStripPanel =
new
();
System\Windows\Forms\ToolStripPanelRenderEventArgsTests.cs (3)
17
yield return new object[] { null, new
ToolStripPanel
() };
32
using ToolStripPanel toolStripPanel =
new
();
46
using ToolStripPanel panel =
new
();
System\Windows\Forms\ToolStripPanelTests.cs (8)
146
using ToolStripPanel panel =
new
()
168
using ToolStripPanel panel =
new
()
183
using ToolStripPanel panel =
new
()
198
using ToolStripPanel panel =
new
();
206
using ToolStripPanel panel =
new
()
223
using ToolStripPanel control =
new
();
248
using ToolStripPanel control =
new
()
287
using ToolStripPanel panel =
new
()
System\Windows\Forms\ToolStripRendererTests.cs (2)
604
yield return new object[] { new ToolStripPanelRenderEventArgs(graphics, new
ToolStripPanel
()) };
709
yield return new object[] { new
ToolStripPanel
() };
System\Windows\Forms\ToolStripTests.cs (5)
970
using ToolStripPanel parent =
new
();
2010
using ToolStripPanel parent =
new
()
2127
using ToolStripPanel parent =
new
()
2561
using ToolStripPanel parent =
new
();
2983
using ToolStripPanel parent =
new
();
141 references to ToolStripPanel
DesignSurface (4)
MainForm.cs (4)
312
ToolStripPanel
topToolStripPanel = surface.CreateControl<
ToolStripPanel
>(new(50, 50), new(0, 0));
315
ToolStripPanel
bottomToolStripPanel = surface.CreateControl<
ToolStripPanel
>(new(50, 50), new(0, 0));
System.Windows.Forms (41)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (1)
2006
ToolStripPanel
.ClearDragFeedback();
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.cs (8)
13
private readonly
ToolStripPanel
_topPanel;
14
private readonly
ToolStripPanel
_bottomPanel;
15
private readonly
ToolStripPanel
_leftPanel;
16
private readonly
ToolStripPanel
_rightPanel;
142
public
ToolStripPanel
BottomToolStripPanel
260
public
ToolStripPanel
LeftToolStripPanel
287
public
ToolStripPanel
RightToolStripPanel
316
public
ToolStripPanel
TopToolStripPanel
System\Windows\Forms\Controls\ToolStrips\ToolStripContainer.ToolStripContainerTypedControlCollection.cs (3)
14
private readonly Type _panelType = typeof(
ToolStripPanel
);
45
if (value is
ToolStripPanel
or ToolStripContentPanel)
61
if (child is
ToolStripPanel
or ToolStripContentPanel)
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
226
ToolStripPanel
.ClearDragFeedback();
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (4)
19
private static WeakRefCollection<
ToolStripPanel
>? t_activeToolStripPanels;
583
internal static WeakRefCollection<
ToolStripPanel
> ToolStripPanels
586
internal static
ToolStripPanel
? ToolStripPanelFromPoint(Control draggedControl, Point screenLocation)
593
foreach (
ToolStripPanel
toolStripPanel in t_activeToolStripPanels)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.cs (2)
12
[ToolboxBitmap(typeof(
ToolStripPanel
), "ToolStripPanel_standalone")]
994
ToolStripPanel
? panel = ToolStripManager.ToolStripPanelFromPoint(toolStripToDrag, screenLocation);
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelAccessibleObject.cs (2)
13
public ToolStripPanelAccessibleObject(
ToolStripPanel
owner) : base(owner)
21
UIA_PROPERTY_ID.UIA_IsKeyboardFocusablePropertyId => (VARIANT)(this.TryGetOwnerAs(out
ToolStripPanel
? owner) && owner.CanFocus),
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelControlCollection.cs (2)
12
private readonly
ToolStripPanel
_owner;
14
public ToolStripPanelControlCollection(
ToolStripPanel
owner)
System\Windows\Forms\Controls\ToolStrips\ToolStripPanel.ToolStripPanelRowCollection.cs (5)
15
private readonly
ToolStripPanel
_owner;
17
public ToolStripPanelRowCollection(
ToolStripPanel
owner)
22
public ToolStripPanelRowCollection(
ToolStripPanel
owner, ToolStripPanelRow[] value)
52
ToolStripPanel
currentOwner = _owner;
72
ToolStripPanel
currentOwner = _owner;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRenderEventArgs.cs (2)
13
public ToolStripPanelRenderEventArgs(Graphics g,
ToolStripPanel
toolStripPanel)
27
public
ToolStripPanel
ToolStripPanel { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.cs (3)
38
public ToolStripPanelRow(
ToolStripPanel
parent)
43
internal ToolStripPanelRow(
ToolStripPanel
parent, bool visible)
236
public
ToolStripPanel
ToolStripPanel { get; }
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowControlCollection.cs (2)
63
public
ToolStripPanel
ToolStripPanel
92
ToolStripPanel
currentOwner = ToolStripPanel;
System\Windows\Forms\Controls\ToolStrips\ToolStripPanelRow.ToolStripPanelRowManager.cs (1)
47
public
ToolStripPanel
ToolStripPanel
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
786
ToolStripPanel
toolStripPanel = e.ToolStripPanel;
System\Windows\Forms\Controls\ToolStrips\ToolStripRenderer.cs (1)
570
protected internal virtual void InitializePanel(
ToolStripPanel
toolStripPanel)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (2)
134
List<
ToolStripPanel
> toolStripPanels = [];
136
foreach (
ToolStripPanel
toolStripPanel in toolStripPanels)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.SettingsStub.cs (1)
26
if (toolStrip.Parent is
ToolStripPanel
parentPanel)
System.Windows.Forms.Design (69)
System\ComponentModel\Design\ToolStripContainerActionList.cs (3)
48
ToolStripPanel
? panel = component as
ToolStripPanel
;
226
if (panel is
ToolStripPanel
&& panel.Dock == dock)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionBehavior.cs (2)
13
private readonly
ToolStripPanel
_relatedControl;
19
internal ToolStripPanelSelectionBehavior(
ToolStripPanel
containerControl, IServiceProvider serviceProvider)
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (2)
12
private readonly
ToolStripPanel
? _relatedPanel;
27
_relatedPanel = relatedComponent as
ToolStripPanel
;
System\Windows\Forms\Design\ChangeToolStripParentVerb.cs (2)
124
if (c.Parent is
ToolStripPanel
)
131
if (panel is
ToolStripPanel
)
System\Windows\Forms\Design\ToolStripActionList.cs (1)
152
if (_toolStrip.Parent is not
ToolStripPanel
)
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (9)
15
private
ToolStripPanel
? _topToolStripPanel;
16
private
ToolStripPanel
? _bottomToolStripPanel;
17
private
ToolStripPanel
? _leftToolStripPanel;
18
private
ToolStripPanel
? _rightToolStripPanel;
199
private ToolStripPanelDesigner? GetDesigner(
ToolStripPanel
panel) => _designerHost.GetDesigner(panel) as ToolStripPanelDesigner;
374
ToolboxBitmapAttribute bottomToolboxBitmapAttribute = new(typeof(
ToolStripPanel
), "ToolStripContainer_BottomToolStripPanel");
375
ToolboxBitmapAttribute rightToolboxBitmapAttribute = new(typeof(
ToolStripPanel
), "ToolStripContainer_RightToolStripPanel");
376
ToolboxBitmapAttribute topToolboxBitmapAttribute = new(typeof(
ToolStripPanel
), "ToolStripContainer_TopToolStripPanel");
377
ToolboxBitmapAttribute leftToolboxBitmapAttribute = new(typeof(
ToolStripPanel
), "ToolStripContainer_LeftToolStripPanel");
System\Windows\Forms\Design\ToolStripDesigner.cs (4)
192
internal override bool ControlSupportsSnaplines => ToolStrip.Parent is not
ToolStripPanel
;
1488
ToolStripPanel
parentPanel = parent as
ToolStripPanel
;
2380
if (ToolStrip.Parent is
ToolStripPanel
&& !ToolStrip.Parent.Visible)
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (4)
806
if (selectedObj is
ToolStripPanel
)
808
ToolStripPanel
parentToolStripPanel = selectedObj as
ToolStripPanel
;
2003
if (ctl.Site is not null && ctl.Site.Container == container && !(ctl is
ToolStripPanel
))
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (42)
88
public override
ToolStripPanel
Control => (
ToolStripPanel
)Component;
488
nameof(
ToolStripPanel
.AutoSizeChanged),
489
nameof(
ToolStripPanel
.BindingContextChanged),
490
nameof(
ToolStripPanel
.CausesValidationChanged),
491
nameof(
ToolStripPanel
.ChangeUICues),
492
nameof(
ToolStripPanel
.DockChanged),
493
nameof(
ToolStripPanel
.DragDrop),
494
nameof(
ToolStripPanel
.DragEnter),
495
nameof(
ToolStripPanel
.DragLeave),
496
nameof(
ToolStripPanel
.DragOver),
497
nameof(
ToolStripPanel
.EnabledChanged),
498
nameof(
ToolStripPanel
.FontChanged),
499
nameof(
ToolStripPanel
.ForeColorChanged),
500
nameof(
ToolStripPanel
.GiveFeedback),
501
nameof(
ToolStripPanel
.ImeModeChanged),
502
nameof(
ToolStripPanel
.KeyDown),
503
nameof(
ToolStripPanel
.KeyPress),
504
nameof(
ToolStripPanel
.KeyUp),
505
nameof(
ToolStripPanel
.LocationChanged),
506
nameof(
ToolStripPanel
.MarginChanged),
507
nameof(
ToolStripPanel
.MouseCaptureChanged),
508
nameof(
ToolStripPanel
.Move),
509
nameof(
ToolStripPanel
.QueryAccessibilityHelp),
510
nameof(
ToolStripPanel
.QueryContinueDrag),
511
nameof(
ToolStripPanel
.RegionChanged),
512
nameof(
ToolStripPanel
.Scroll),
513
nameof(
ToolStripPanel
.Validated),
514
nameof(
ToolStripPanel
.Validating)
545
nameof(
ToolStripPanel
.Anchor),
546
nameof(
ToolStripPanel
.AutoSize),
547
nameof(
ToolStripPanel
.Dock),
548
nameof(
ToolStripPanel
.DockPadding),
549
nameof(
ToolStripPanel
.Height),
550
nameof(
ToolStripPanel
.Location),
551
nameof(
ToolStripPanel
.Name),
552
nameof(
ToolStripPanel
.Orientation),
553
nameof(
ToolStripPanel
.Renderer),
554
nameof(
ToolStripPanel
.RowMargin),
555
nameof(
ToolStripPanel
.Size),
556
nameof(
ToolStripPanel
.Visible),
557
nameof(
ToolStripPanel
.Width),
System.Windows.Forms.Tests (27)
System\Windows\Forms\AccessibleObjects\ToolStripPanel.ToolStripPanelAccessibleObjectTests.cs (3)
5
using static System.Windows.Forms.
ToolStripPanel
;
14
using
ToolStripPanel
control = new();
24
using
ToolStripPanel
control = new();
System\Windows\Forms\ToolStripPanel.ToolStripPanelRowCollectionTests.cs (6)
6
using static System.Windows.Forms.
ToolStripPanel
;
12
private readonly
ToolStripPanel
_toolStripPanel;
39
using
ToolStripPanel
toolStripPanel = _toolStripPanelRowCollection.TestAccessor().Dynamic._owner;
49
ToolStripPanel
toolStripPanel = toolStripPanelRowCollection.TestAccessor().Dynamic._owner;
315
private ToolStripPanelRow AddRowToCollection(ToolStripPanelRowCollection collection,
ToolStripPanel
panel)
322
private ToolStripPanelRow[] AddRowsToCollection(ToolStripPanelRowCollection collection,
ToolStripPanel
panel, int count)
System\Windows\Forms\ToolStripPanelRenderEventArgsTests.cs (3)
22
public void ToolStripPanelRenderEventArgs_Null_Graphics_ToolStripPanel_ThrowsArgumentNullException(Graphics g,
ToolStripPanel
toolStripPanel)
32
using
ToolStripPanel
toolStripPanel = new();
46
using
ToolStripPanel
panel = new();
System\Windows\Forms\ToolStripPanelTests.cs (8)
146
using
ToolStripPanel
panel = new()
168
using
ToolStripPanel
panel = new()
183
using
ToolStripPanel
panel = new()
198
using
ToolStripPanel
panel = new();
206
using
ToolStripPanel
panel = new()
223
using
ToolStripPanel
control = new();
248
using
ToolStripPanel
control = new()
287
using
ToolStripPanel
panel = new()
System\Windows\Forms\ToolStripRendererTests.cs (2)
714
public void ToolStripRenderer_InitializePanel_Invoke_Nop(
ToolStripPanel
toolStripPanel)
1029
public new void InitializePanel(
ToolStripPanel
toolStripPanel) => base.InitializePanel(toolStripPanel);
System\Windows\Forms\ToolStripTests.cs (5)
970
using
ToolStripPanel
parent = new();
2010
using
ToolStripPanel
parent = new()
2127
using
ToolStripPanel
parent = new()
2561
using
ToolStripPanel
parent = new();
2983
using
ToolStripPanel
parent = new();