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