28 references to ControlRectInAdornerWindow
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
695
Rectangle controlRect = _behaviorServiceSource.
ControlRectInAdornerWindow
(dragControl);
950
Rectangle controlRect = _behaviorServiceSource.
ControlRectInAdornerWindow
(dragControl);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
381
Rectangle borderRect = BehaviorService.
ControlRectInAdornerWindow
(control);
641
Rectangle oldBorderRect = BehaviorService.
ControlRectInAdornerWindow
(control);
795
newBorderRect = BehaviorService.
ControlRectInAdornerWindow
(control);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (3)
63
Rectangle translatedBounds = _behaviorService.
ControlRectInAdornerWindow
(_relatedPanel!);
212
Rectangle baseParentBounds = _behaviorService.
ControlRectInAdornerWindow
(_baseParent);
226
Rectangle baseParentBounds = _behaviorService.
ControlRectInAdornerWindow
(_baseParent);
System\Windows\Forms\Design\ControlDesigner.cs (2)
682
Rectangle translatedBounds = BehaviorService?.
ControlRectInAdornerWindow
(Control) ?? Rectangle.Empty;
741
Rectangle translatedBounds = BehaviorService.
ControlRectInAdornerWindow
(Control);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
385
BehaviorService.Invalidate(BehaviorService.
ControlRectInAdornerWindow
(Control));
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
996
Rectangle controlRect = BehaviorService.
ControlRectInAdornerWindow
(Control);
1003
Rectangle parentRect = BehaviorService.
ControlRectInAdornerWindow
(parent);
2055
BehaviorService.Invalidate(BehaviorService.
ControlRectInAdornerWindow
(Control));
System\Windows\Forms\Design\SplitContainerDesigner.cs (2)
200
Rectangle translatedBounds = BehaviorService?.
ControlRectInAdornerWindow
(_splitterPanel1!) ?? Rectangle.Empty;
211
translatedBounds = BehaviorService?.
ControlRectInAdornerWindow
(_splitterPanel2!) ?? Rectangle.Empty;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
637
BehaviorService.Invalidate(BehaviorService.
ControlRectInAdornerWindow
(Control));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1708
BehaviorService.Invalidate(BehaviorService.
ControlRectInAdornerWindow
(Control));
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (3)
234
Rectangle translatedBounds = BehaviorService?.
ControlRectInAdornerWindow
(currentPanel) ?? Rectangle.Empty;
298
Rectangle controlBounds = BehaviorService?.
ControlRectInAdornerWindow
(dropDownItem.DropDown) ?? Rectangle.Empty;
328
Rectangle controlBounds = BehaviorService?.
ControlRectInAdornerWindow
(associatedControl) ?? Rectangle.Empty;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1322
Rectangle parentBounds = BehaviorService.
ControlRectInAdornerWindow
(parent);
2039
BehaviorService.Invalidate(BehaviorService.
ControlRectInAdornerWindow
(ToolStrip));
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
686
Rectangle parentBounds = behaviorService.
ControlRectInAdornerWindow
(parent);
687
Rectangle menuBounds = behaviorService.
ControlRectInAdornerWindow
(_designMenu);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
437
Rectangle parentBounds = behaviorService.
ControlRectInAdornerWindow
(parent);
578
Rectangle parentBounds = GetService<BehaviorService>().
ControlRectInAdornerWindow
((Control)ImmediateParent);
1024
behaviorService.Invalidate(behaviorService.
ControlRectInAdornerWindow
(currentSelection.Owner));