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 } 226Control.ControlAdded -= OnControlAdded; 227Control.ControlRemoved -= OnControlRemoved; 240Rectangle rc = Control.ClientRectangle; 258_behavior = new ToolStripPanelSelectionBehavior(Control, Component.Site); 259_containerSelectorGlyph = new ToolStripPanelSelectionGlyph(Rectangle.Empty, Cursors.Default, Control, Component.Site, _behavior); 262if (_containerSelectorGlyph is not null && Control.Dock == DockStyle.Top) 264Control.Padding = new Padding(0, 0, 25, 25); 289_behavior = new ToolStripPanelSelectionBehavior(Control, Component.Site); 290_containerSelectorGlyph = new ToolStripPanelSelectionGlyph(Rectangle.Empty, Cursors.Default, Control, Component.Site, _behavior); 294return Control.Visible ? _containerSelectorGlyph : null; 309return Control; 312ToolStripContainer? parent = Control.Parent as ToolStripContainer; 323Padding = Control.Padding; 344Control.ControlAdded += OnControlAdded; 345Control.ControlRemoved += OnControlRemoved; 372Control.Padding = new Padding(0); 391if (Control.Controls.Count == 0) 416if (Control.Parent is ToolStripContainer) 448if (_selectionService?.PrimarySelection == Control) 474paintEvent.Graphics.FillRectangle(brush, Control.ClientRectangle); 484if (Control.Parent is ToolStripContainer) 537if (Control.Parent is ToolStripContainer)