28 references to ControlRectInAdornerWindow
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\Behavior\DropSourceBehavior.cs (2)
695Rectangle controlRect = _behaviorServiceSource.ControlRectInAdornerWindow(dragControl); 950Rectangle 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!); 212Rectangle baseParentBounds = _behaviorService.ControlRectInAdornerWindow(_baseParent); 226Rectangle baseParentBounds = _behaviorService.ControlRectInAdornerWindow(_baseParent);
System\Windows\Forms\Design\ControlDesigner.cs (2)
682Rectangle translatedBounds = BehaviorService?.ControlRectInAdornerWindow(Control) ?? Rectangle.Empty; 741Rectangle 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); 2055BehaviorService.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)
637BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(Control));
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (1)
1708BehaviorService.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)
1322Rectangle parentBounds = BehaviorService.ControlRectInAdornerWindow(parent); 2039BehaviorService.Invalidate(BehaviorService.ControlRectInAdornerWindow(ToolStrip));
System\Windows\Forms\Design\ToolStripDropDownDesigner.cs (2)
686Rectangle parentBounds = behaviorService.ControlRectInAdornerWindow(parent); 687Rectangle menuBounds = behaviorService.ControlRectInAdornerWindow(_designMenu);
System\Windows\Forms\Design\ToolStripItemDesigner.cs (3)
437Rectangle parentBounds = behaviorService.ControlRectInAdornerWindow(parent); 578Rectangle parentBounds = GetService<BehaviorService>().ControlRectInAdornerWindow((Control)ImmediateParent); 1024behaviorService.Invalidate(behaviorService.ControlRectInAdornerWindow(currentSelection.Owner));