Base:
property
Control
System.Windows.Forms.Design.ControlDesigner.Control
30 references to Control
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\ToolStripPanelDesigner.cs (30)
46Color penColor = Control.BackColor.GetBrightness() < .5 ? 47ControlPaint.Light(Control.BackColor) : 48ControlPaint.Dark(Control.BackColor); 93get => Control.Parent is ToolStripContainer && (base.InheritanceAttribute == InheritanceAttribute.Inherited) 118=> Control.Parent is ToolStripContainer 137Control.Visible = value; 153=> Control.Parent is not ToolStripContainer; 176if (Control.Parent is ToolStripContainer { ContentPanel: { } contentPanel } 223Control.ControlAdded -= OnControlAdded; 224Control.ControlRemoved -= OnControlRemoved; 237Rectangle rc = Control.ClientRectangle; 255_behavior = new ToolStripPanelSelectionBehavior(Control, Component.Site); 256_containerSelectorGlyph = new ToolStripPanelSelectionGlyph(Rectangle.Empty, Cursors.Default, Control, Component.Site, _behavior); 259if (_containerSelectorGlyph is not null && Control.Dock == DockStyle.Top) 261Control.Padding = new Padding(0, 0, 25, 25); 286_behavior = new ToolStripPanelSelectionBehavior(Control, Component.Site); 287_containerSelectorGlyph = new ToolStripPanelSelectionGlyph(Rectangle.Empty, Cursors.Default, Control, Component.Site, _behavior); 291return Control.Visible ? _containerSelectorGlyph : null; 306return Control; 309ToolStripContainer? parent = Control.Parent as ToolStripContainer; 320Padding = Control.Padding; 338Control.ControlAdded += OnControlAdded; 339Control.ControlRemoved += OnControlRemoved; 366Control.Padding = new Padding(0); 382if (Control.Controls.Count == 0) 404if (Control.Parent is ToolStripContainer) 436if (_selectionService?.PrimarySelection == Control) 462paintEvent.Graphics.FillRectangle(brush, Control.ClientRectangle); 472if (Control.Parent is ToolStripContainer) 525if (Control.Parent is ToolStripContainer)