19 references to GetRules
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\SelectionUIService.ContainerSelectionUIItem.cs (5)
21if ((GetHitTest(point) & CONTAINER_SELECTOR) != 0 && (GetRules() & SelectionRules.Moveable) != SelectionRules.None) 34if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty) 41if ((GetRules() & SelectionRules.Moveable) != SelectionRules.None) 54if ((GetRules() & SelectionRules.Visible) == SelectionRules.None) 70if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty)
System\Windows\Forms\Design\SelectionUIService.cs (4)
213if (item is ContainerSelectionUIItem && (item.GetRules() & SelectionRules.Visible) != SelectionRules.None) 225if (item is not ContainerSelectionUIItem && (item.GetRules() & SelectionRules.Visible) != SelectionRules.None) 1186if ((item.GetRules() & selectionRules) == selectionRules) 1238return selection.GetRules();
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (10)
121if ((GetRules() & SelectionRules.Visible) == SelectionRules.None) 152if (((GetRules() & SelectionRules.Locked) == SelectionRules.None) && (GetRules() & SelectionRules.AllSizeable) != SelectionRules.None) 195if ((GetRules() & SelectionRules.AllSizeable) != SelectionRules.None) 202if ((GetRules() & SelectionRules.Moveable) == SelectionRules.None) 236return ((GetRules() & SelectionRules.Moveable) == SelectionRules.None ? 0 : MOVE_X | MOVE_Y); 331if ((GetRules() & SelectionRules.Visible) != SelectionRules.None && !_outerRect.IsEmpty) 385if ((GetRules() & SelectionRules.Visible) == SelectionRules.None || _outerRect.IsEmpty || _innerRect.IsEmpty) 416SelectionRules rules = GetRules(); 505if ((GetRules() & SelectionRules.Visible) == SelectionRules.None)