28 references to Moveable
System.Windows.Forms.Design (28)
System\Windows\Forms\Design\Behavior\ContainerSelectorBehavior.cs (1)
229if (host.GetDesigner(ctrl) is ControlDesigner des && (des.SelectionRules & SelectionRules.Moveable) != 0)
System\Windows\Forms\Design\Behavior\NoResizeHandleGlyph.cs (2)
27if ((selRules & SelectionRules.Moveable) != 0) 29rules = SelectionRules.Moveable;
System\Windows\Forms\Design\Behavior\NoResizeSelectionBorderGlyph.cs (2)
29if ((selRules & SelectionRules.Moveable) != 0) 31rules = SelectionRules.Moveable;
System\Windows\Forms\Design\CommandSet.cs (1)
908SelectionRules rules = SelectionRules.Moveable | SelectionRules.Visible;
System\Windows\Forms\Design\ComponentTray.cs (2)
609SelectionRules ISelectionUIHandler.GetComponentRules(object component) => SelectionRules.Visible | SelectionRules.Moveable; 2198if (_tray._selectionUISvc is not null && _tray._selectionUISvc.BeginDrag(SelectionRules.Visible | SelectionRules.Moveable, _mouseDragLast.X, _mouseDragLast.Y))
System\Windows\Forms\Design\ControlDesigner.cs (7)
211rules |= SelectionRules.Moveable; 251rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable); 254rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.BottomSizeable); 257rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.BottomSizeable | SelectionRules.RightSizeable); 260rules &= ~(SelectionRules.Moveable | SelectionRules.LeftSizeable | SelectionRules.BottomSizeable | SelectionRules.RightSizeable); 263rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable); 1442if (_host?.GetDesigner(comp) is ControlDesigner des && (des.SelectionRules & SelectionRules.Moveable) != 0)
System\Windows\Forms\Design\DocumentDesigner.cs (1)
166rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable);
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
1037if ((SelectionRules & SelectionRules.Moveable) != 0 &&
System\Windows\Forms\Design\SelectionUIHandler.cs (2)
275if ((_rules & SelectionRules.Moveable) == 0) 322if ((_rules & SelectionRules.Moveable) != 0)
System\Windows\Forms\Design\SelectionUIService.ContainerSelectionUIItem.cs (2)
21if ((GetHitTest(point) & CONTAINER_SELECTOR) != 0 && (GetRules() & SelectionRules.Moveable) != SelectionRules.None) 41if ((GetRules() & SelectionRules.Moveable) != SelectionRules.None)
System\Windows\Forms\Design\SelectionUIService.cs (4)
250if ((rules & SelectionRules.Moveable) != 0) 520SelectionRules rules = SelectionRules.Moveable; 540rules |= SelectionRules.Moveable; 1064if ((_dragRules & SelectionRules.Moveable) == SelectionRules.None && (_dragRules & (SelectionRules.TopSizeable | SelectionRules.LeftSizeable)) == SelectionRules.None)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
199if ((GetRules() & SelectionRules.Moveable) == SelectionRules.None) 233return ((GetRules() & SelectionRules.Moveable) == SelectionRules.None ? 0 : MOVE_X | MOVE_Y);
System\Windows\Forms\Design\ToolStripDesigner.cs (1)
1348if ((SelectionRules & SelectionRules.Moveable) != 0 && InheritanceAttribute != InheritanceAttribute.InheritedReadOnly && (selType != GlyphSelectionType.NotSelected))