26 references to Visible
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\CommandSet.cs (4)
914
SelectionRules rules = SelectionRules.Moveable | SelectionRules.
Visible
;
2292
selectedObjects = FilterSelection(selectedObjects, SelectionRules.
Visible
);
2392
selectedObjects = FilterSelection(selectedObjects, SelectionRules.
Visible
);
2549
selectedObjects = FilterSelection(selectedObjects, SelectionRules.
Visible
);
System\Windows\Forms\Design\ComponentTray.cs (2)
615
SelectionRules ISelectionUIHandler.GetComponentRules(object component) => SelectionRules.
Visible
| SelectionRules.Moveable;
2216
if (_tray._selectionUISvc is not null && _tray._selectionUISvc.BeginDrag(SelectionRules.
Visible
| SelectionRules.Moveable, _mouseDragLast.X, _mouseDragLast.Y))
System\Windows\Forms\Design\ControlCommandSet.cs (1)
540
SelectionRules rules = SelectionRules.
Visible
;
System\Windows\Forms\Design\ControlDesigner.cs (2)
203
SelectionRules rules = SelectionRules.
Visible
;
275
rules = SelectionRules.Locked | SelectionRules.
Visible
;
System\Windows\Forms\Design\SelectionUIService.ContainerSelectionUIItem.cs (3)
34
if ((GetRules() & SelectionRules.
Visible
) != SelectionRules.None && !_outerRect.IsEmpty)
54
if ((GetRules() & SelectionRules.
Visible
) == SelectionRules.None)
70
if ((GetRules() & SelectionRules.
Visible
) != SelectionRules.None && !_outerRect.IsEmpty)
System\Windows\Forms\Design\SelectionUIService.cs (2)
213
if (item is ContainerSelectionUIItem && (item.GetRules() & SelectionRules.
Visible
) != SelectionRules.None)
225
if (item is not ContainerSelectionUIItem && (item.GetRules() & SelectionRules.
Visible
) != SelectionRules.None)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (4)
121
if ((GetRules() & SelectionRules.
Visible
) == SelectionRules.None)
331
if ((GetRules() & SelectionRules.
Visible
) != SelectionRules.None && !_outerRect.IsEmpty)
385
if ((GetRules() & SelectionRules.
Visible
) == SelectionRules.None || _outerRect.IsEmpty || _innerRect.IsEmpty)
505
if ((GetRules() & SelectionRules.
Visible
) == SelectionRules.None)
System.Windows.Forms.Design.Tests (8)
System\Windows\Forms\Design\ComboBoxDesignerTests.cs (1)
41
selectionRules.Should().Be(SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\DateTimePickerDesignerTests.cs (1)
43
selectionRules.Should().Be(SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\LabelDesignerTests.cs (1)
39
selectionRules.Should().Be(SelectionRules.AllSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\MaskedTextBoxDesignerTests.cs (1)
31
selectionRules.Should().Be(SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\MonthCalendarDesignerTests.cs (1)
33
selectionRules.Should().Be(SelectionRules.BottomSizeable | SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\PictureBoxDesignerTests.cs (1)
29
selectionRules.Should().Be(SelectionRules.AllSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\RadioButtonDesignerTests.cs (1)
41
selectionRules.Should().Be(SelectionRules.AllSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);
System\Windows\Forms\Design\TabPageDesignerTests.cs (1)
64
selectionRules.Should().Be(SelectionRules.AllSizeable | SelectionRules.Moveable | SelectionRules.
Visible
);