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)
46
Color penColor =
Control
.BackColor.GetBrightness() < .5 ?
47
ControlPaint.Light(
Control
.BackColor) :
48
ControlPaint.Dark(
Control
.BackColor);
93
get =>
Control
.Parent is ToolStripContainer && (base.InheritanceAttribute == InheritanceAttribute.Inherited)
118
=>
Control
.Parent is ToolStripContainer
137
Control
.Visible = value;
153
=>
Control
.Parent is not ToolStripContainer;
176
if (
Control
.Parent is ToolStripContainer { ContentPanel: { } contentPanel }
226
Control
.ControlAdded -= OnControlAdded;
227
Control
.ControlRemoved -= OnControlRemoved;
240
Rectangle rc =
Control
.ClientRectangle;
258
_behavior = new ToolStripPanelSelectionBehavior(
Control
, Component.Site);
259
_containerSelectorGlyph = new ToolStripPanelSelectionGlyph(Rectangle.Empty, Cursors.Default,
Control
, Component.Site, _behavior);
262
if (_containerSelectorGlyph is not null &&
Control
.Dock == DockStyle.Top)
264
Control
.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);
294
return
Control
.Visible ? _containerSelectorGlyph : null;
309
return
Control
;
312
ToolStripContainer? parent =
Control
.Parent as ToolStripContainer;
323
Padding =
Control
.Padding;
344
Control
.ControlAdded += OnControlAdded;
345
Control
.ControlRemoved += OnControlRemoved;
372
Control
.Padding = new Padding(0);
391
if (
Control
.Controls.Count == 0)
416
if (
Control
.Parent is ToolStripContainer)
448
if (_selectionService?.PrimarySelection ==
Control
)
474
paintEvent.Graphics.FillRectangle(brush,
Control
.ClientRectangle);
484
if (
Control
.Parent is ToolStripContainer)
537
if (
Control
.Parent is ToolStripContainer)