28 references to ControlRectInAdornerWindow
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
689Rectangle controlRect = _behaviorServiceSource.ControlRectInAdornerWindow(dragControl); 944Rectangle controlRect = _behaviorServiceSource.ControlRectInAdornerWindow(dragControl);
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (3)
381Rectangle borderRect = BehaviorService.ControlRectInAdornerWindow(control); 641Rectangle oldBorderRect = BehaviorService.ControlRectInAdornerWindow(control); 795newBorderRect = BehaviorService.ControlRectInAdornerWindow(control);
System\Windows\Forms\Design\Behavior\ToolStripPanelSelectionGlyph.cs (3)
63Rectangle translatedBounds = _behaviorService.ControlRectInAdornerWindow(_relatedPanel!); 209Rectangle baseParentBounds = _behaviorService.ControlRectInAdornerWindow(_baseParent); 223Rectangle baseParentBounds = _behaviorService.ControlRectInAdornerWindow(_baseParent);
System\Windows\Forms\Design\ControlDesigner.cs (2)
697Rectangle translatedBounds = BehaviorService?.ControlRectInAdornerWindow(Control) ?? Rectangle.Empty; 756Rectangle translatedBounds = BehaviorService.ControlRectInAdornerWindow(Control);
System\Windows\Forms\Design\FlowLayoutPanelDesigner .cs (1)
385BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(Control));
System\Windows\Forms\Design\ParentControlDesigner.cs (3)
996Rectangle controlRect = BehaviorService.ControlRectInAdornerWindow(Control); 1003Rectangle parentRect = BehaviorService.ControlRectInAdornerWindow(parent); 2049BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(Control));
System\Windows\Forms\Design\SplitContainerDesigner.cs (2)
200Rectangle translatedBounds = BehaviorService?.ControlRectInAdornerWindow(_splitterPanel1!) ?? Rectangle.Empty; 211translatedBounds = BehaviorService?.ControlRectInAdornerWindow(_splitterPanel2!) ?? Rectangle.Empty;
System\Windows\Forms\Design\TabControlDesigner.cs (1)
632BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(Control));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1705BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(Control));
System\Windows\Forms\Design\ToolStripContainerDesigner.cs (3)
234Rectangle translatedBounds = BehaviorService?.ControlRectInAdornerWindow(currentPanel) ?? Rectangle.Empty; 298Rectangle controlBounds = BehaviorService?.ControlRectInAdornerWindow(dropDownItem.DropDown) ?? Rectangle.Empty; 328Rectangle controlBounds = BehaviorService?.ControlRectInAdornerWindow(associatedControl) ?? Rectangle.Empty;
System\Windows\Forms\Design\ToolStripDesigner.cs (2)
1305Rectangle parentBounds = BehaviorService.ControlRectInAdornerWindow(parent); 2054BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(ToolStrip));
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
680Rectangle parentBounds = behaviorService.ControlRectInAdornerWindow(parent); 681Rectangle menuBounds = behaviorService.ControlRectInAdornerWindow(_designMenu);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
428Rectangle parentBounds = behaviorService.ControlRectInAdornerWindow(parent); 566Rectangle parentBounds = GetService<BehaviorService>().ControlRectInAdornerWindow((Control)ImmediateParent); 1006behaviorService.Invalidate(behaviorService.ControlRectInAdornerWindow(currentSelection.Owner));