14 references to ImmediateParent
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\ToolStripItemDesigner.cs (14)
208
if (
ImmediateParent
is ToolStripDropDown parentDropDown)
329
ToolStrip immediateParent =
ImmediateParent
as ToolStrip;
514
if (TryGetService(out BehaviorService b) &&
ImmediateParent
is not null)
516
Point loc = b.ControlToAdornerWindow((Control)
ImmediateParent
);
571
if (
ImmediateParent
is null)
578
Rectangle parentBounds = GetService<BehaviorService>().ControlRectInAdornerWindow((Control)
ImmediateParent
);
724
ToolStrip parent = (ToolStrip)
ImmediateParent
;
740
if (
ImmediateParent
is ToolStripDropDown parentDropDown)
922
Point location = behaviorService.ControlToAdornerWindow((Control)
ImmediateParent
);
951
ToolStrip owner =
ImmediateParent
as ToolStrip;
1065
ToolStrip parent = (ToolStrip)
ImmediateParent
;
1120
ToolStrip parent = (ToolStrip)
ImmediateParent
;
1217
ToolStrip parent =
ImmediateParent
as ToolStrip;
1292
_selectionService.SetSelectedComponents(new object[] {
ImmediateParent
});