10 types derived from Panel
System.Windows.Forms (7)
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanel.cs (1)
8internal class DataGridViewEditingPanel : Panel
System\Windows\Forms\Controls\TabControl\TabPage.cs (1)
20public partial class TabPage : Panel
System\Windows\Forms\Controls\ToolStrips\ToolStripContentPanel.cs (1)
15public class ToolStripContentPanel : Panel
System\Windows\Forms\Design\ComponentEditorPage.cs (1)
12public abstract class ComponentEditorPage : Panel
System\Windows\Forms\Panels\FlowLayoutPanel.cs (1)
14public class FlowLayoutPanel : Panel, IExtenderProvider
System\Windows\Forms\Panels\SplitterPanel.cs (1)
12public sealed class SplitterPanel : Panel
System\Windows\Forms\Panels\TableLayoutPanel\TableLayoutPanel.cs (1)
22public class TableLayoutPanel : Panel, IExtenderProvider
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\ToolStripEditorManager.cs (1)
120private class ToolStripEditorControl : Panel
System.Windows.Forms.Tests (2)
System\Windows\Forms\PanelTests.cs (2)
635private class BorderedPanel : Panel 1142private class SubPanel : Panel
53 instantiations of Panel
Accessibility_Core_App (5)
ContainerControls.Designer.cs (3)
73this.panel2 = new System.Windows.Forms.Panel(); 79this.panel1 = new System.Windows.Forms.Panel(); 89this.panel3 = new System.Windows.Forms.Panel();
ContainerControls2.Designer.cs (1)
54this.panel4 = new System.Windows.Forms.Panel();
DataBindingExample.Designer.cs (1)
29this.panel1 = new System.Windows.Forms.Panel();
PresentationUI (4)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
38_panel1 = new System.Windows.Forms.Panel(); 47_panel2 = new System.Windows.Forms.Panel();
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
45_listboxMainPanel = new System.Windows.Forms.Panel(); 46_listboxItemPanel = new System.Windows.Forms.Panel();
System.Windows.Forms (1)
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
25private readonly Panel _pageHost = new();
System.Windows.Forms.Design (2)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
305_addNewPanel = new Panel(); 331_helpTextPanel = new Panel();
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\FlowPanelDesignerTests.cs (1)
21Panel panel = new();
System\Windows\Forms\Design\PanelDesignerTests.cs (1)
13using Panel panel = new();
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
60using Panel panel = new();
System.Windows.Forms.Tests (36)
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (19)
21using Panel panel = new(); 33using Panel panel = new() 49using Panel panel = new() 68using Panel panel = new() 107using Panel panel = new(); 120using Panel panel = new(); 130using Panel panel = new(); 142using Panel panel = new() 157using Panel panel = new(); 167using Panel panel = new(); 177using Panel panel = new(); 188using Panel parentPanel = new(); 191using Panel childPanel = new(); 205using Panel panel = new(); 215using Panel panel = new(); 226using Panel parentPanel = new(); 229using Panel childPanel = new(); 243using Panel panel = new(); 260using Panel panel1 = new();
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (1)
83using Panel panel = new();
System\Windows\Forms\LayoutEventArgsTests.cs (1)
63tableLayoutPanel.Controls.Add(new Panel()
System\Windows\Forms\PanelTests.cs (14)
168using Panel control = new(); 193using Panel control = new() 548using Panel control = new(); 556using Panel control = new() 575using Panel control = new(); 604using Panel control = new(); 611using Panel control = new(); 655using Panel control = new() 677using Panel control = new(); 713using Panel control = new() 752using Panel control = new() 769using Panel control = new(); 797using Panel control = new(); 1138Panel panel = new() { BorderStyle = BorderStyle.Fixed3D };
System\Windows\Forms\TypedControlCollectionTests.cs (1)
11using Panel owner = new();
WinFormsControlsTest (2)
MdiChild.Designer.cs (1)
34this.panel1 = new System.Windows.Forms.Panel();
ScrollableControls.Designer.cs (1)
52panel1 = new Panel();
99 references to Panel
Accessibility_Core_App (5)
ContainerControls.Designer.cs (3)
897private System.Windows.Forms.Panel panel2; 903private System.Windows.Forms.Panel panel1; 913private System.Windows.Forms.Panel panel3;
ContainerControls2.Designer.cs (1)
476private System.Windows.Forms.Panel panel4;
DataBindingExample.Designer.cs (1)
293private System.Windows.Forms.Panel panel1;
DesignSurface (4)
MainForm.cs (4)
152Panel pnl = surface.CreateControl<Panel>(new Size(140, 140), new Point(12, 12)); 352Panel panel = surface.CreateControl<Panel>(new(0, tabPage6.Height / 2), new(0, 0));
PresentationUI (4)
MS\Internal\Documents\RMEnrollmentPage1.Designer.cs (2)
233private System.Windows.Forms.Panel _panel1; 243private System.Windows.Forms.Panel _panel2;
MS\Internal\Documents\SignatureSummaryDialog.Designer.cs (2)
242private System.Windows.Forms.Panel _listboxMainPanel; 244private System.Windows.Forms.Panel _listboxItemPanel;
System.Windows.Forms (17)
System\Windows\Forms\Controls\DataGridView\DataGridView.cs (1)
2228public Panel EditingPanel
System\Windows\Forms\Controls\DataGridView\DataGridView.DataGridViewEditingPanelAccessibleObject.cs (5)
18public DataGridViewEditingPanelAccessibleObject(DataGridView dataGridView, Panel panel) : base(panel) 24=> this.TryGetOwnerAs(out Panel? owner) ? owner.AccessibilityObject.Bounds : default; 31internal override int[] RuntimeId => _runtimeId ??= this.TryGetOwnerAs(out Panel? owner) 68if (this.IsOwnerHandleCreated(out Panel? owner) && owner.CanFocus) 77UIA_PROPERTY_ID.UIA_AccessKeyPropertyId => this.TryGetOwnerAs(out Panel? owner) && owner.AccessibilityObject.KeyboardShortcut is { } shortcut
System\Windows\Forms\Design\ComponentEditorForm.cs (1)
25private readonly Panel _pageHost = new();
System\Windows\Forms\Panels\Panel.cs (4)
12/// Represents a <see cref="Panel"/> control. 24/// Initializes a new instance of the <see cref="Panel"/> class. 246/// Creates a new AccessibleObject for this <see cref="Panel"/> instance. 250/// <see cref="AccessibleObject"/> for this <see cref="Panel"/> instance.
System\Windows\Forms\Panels\Panel.PanelAccessibleObject.cs (4)
14public PanelAccessibleObject(Panel owner) : base(owner) 18internal override Rectangle BoundingRectangle => this.IsOwnerHandleCreated(out Panel? owner) ? 24!this.IsOwnerHandleCreated(out Panel? owner) || index < 0 || index >= owner.Controls.Count 31=> this.IsOwnerHandleCreated(out Panel? owner) ? owner.Controls.Count : -1;
System\Windows\Forms\Panels\SplitterPanel.cs (2)
131get => ((Panel)this).Height; 132set => ((Panel)this).Height = value;
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\DesignBindingPicker.cs (2)
93private readonly Panel _addNewPanel; // Panel containing the "Add Project Data Source" link 95private readonly Panel _helpTextPanel; // Panel containing the help text label
System\Windows\Forms\Design\PanelDesigner.cs (4)
30Panel panel = (Panel)Component; // if the panel is invisible, bail now 53Panel panel = (Panel)Component;
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\FlowPanelDesignerTests.cs (1)
21Panel panel = new();
System\Windows\Forms\Design\PanelDesignerTests.cs (1)
13using Panel panel = new();
System\Windows\Forms\Design\ToolStripContentPanelDesignerTests.cs (1)
60using Panel panel = new();
System.Windows.Forms.Tests (58)
System\Windows\Forms\AccessibleObjects\DataGridView.DataGridViewEditingPanelAccessibleObjectTests.cs (4)
49Panel editingPanel = dataGridView.EditingPanel; 65Panel editingPanel = dataGridView.EditingPanel; 99Panel editingPanel = dataGridView.EditingPanel; 113Panel editingPanel = dataGridView.EditingPanel;
System\Windows\Forms\AccessibleObjects\Panel.PanelAccessibleObjectTests.cs (34)
15Assert.Throws<ArgumentNullException>("ownerControl", () => new Panel.PanelAccessibleObject(owner: null)); 21using Panel panel = new(); 22Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 33using Panel panel = new() 38Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 49using Panel panel = new() 54Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 68using Panel panel = new() 74Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 107using Panel panel = new(); 120using Panel panel = new(); 121Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 130using Panel panel = new(); 131Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 142using Panel panel = new() 150Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 157using Panel panel = new(); 158Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 167using Panel panel = new(); 168Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 177using Panel panel = new(); 179Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 188using Panel parentPanel = new(); 191using Panel childPanel = new(); 195Panel.PanelAccessibleObject panelAccessibleObject = new(parentPanel); 205using Panel panel = new(); 206Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 215using Panel panel = new(); 217Panel.PanelAccessibleObject panelAccessibleObject = new(panel); 226using Panel parentPanel = new(); 229using Panel childPanel = new(); 233Panel.PanelAccessibleObject panelAccessibleObject = new(parentPanel); 243using Panel panel = new(); 260using Panel panel1 = new();
System\Windows\Forms\AccessibleObjects\PrintPreviewControl.PrintPreviewControlAccessibleObjectTests.cs (1)
83using Panel panel = new();
System\Windows\Forms\LayoutEventArgsTests.cs (2)
74using (Panel panel = (Panel)tableLayoutPanel.Controls.Find("Panel", false).First())
System\Windows\Forms\PanelTests.cs (14)
168using Panel control = new(); 193using Panel control = new() 548using Panel control = new(); 556using Panel control = new() 575using Panel control = new(); 604using Panel control = new(); 611using Panel control = new(); 655using Panel control = new() 677using Panel control = new(); 713using Panel control = new() 752using Panel control = new() 769using Panel control = new(); 797using Panel control = new(); 1138Panel panel = new() { BorderStyle = BorderStyle.Fixed3D };
System\Windows\Forms\TypedControlCollectionTests.cs (3)
11using Panel owner = new(); 12TypedControlCollection collection = new(owner, typeof(Panel), false); 22Assert.Throws<ArgumentNullException>("owner", () => new TypedControlCollection(null, typeof(Panel), false));
WinFormsControlsTest (2)
MdiChild.Designer.cs (1)
154private System.Windows.Forms.Panel panel1;
ScrollableControls.Designer.cs (1)
476private Panel panel1;