39 references to TopSizeable
System.Windows.Forms.Design (30)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (3)
35
rules = SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable;
40
rules = SelectionRules.
TopSizeable
| SelectionRules.RightSizeable;
60
rules = SelectionRules.
TopSizeable
;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (5)
133
else if ((rules & SelectionRules.
TopSizeable
) != 0)
170
else if ((rules & SelectionRules.
TopSizeable
) != 0)
556
if ((((_targetResizeRules & SelectionRules.BottomSizeable) != 0) || ((_targetResizeRules & SelectionRules.
TopSizeable
) != 0)) &&
683
if (((_targetResizeRules & SelectionRules.
TopSizeable
) != 0) &&
684
((resizeRules & SelectionRules.
TopSizeable
) != 0))
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (2)
38
if ((selRules & SelectionRules.
TopSizeable
) != 0)
41
rules = SelectionRules.
TopSizeable
;
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
116
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System\Windows\Forms\Design\ControlDesigner.cs (5)
251
rules &= ~(SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.RightSizeable);
254
rules &= ~(SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.BottomSizeable);
257
rules &= ~(SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable | SelectionRules.RightSizeable);
263
rules &= ~(SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable);
781
if ((rules & SelectionRules.
TopSizeable
) != 0)
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
43
=> base.SelectionRules & ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System\Windows\Forms\Design\DocumentDesigner.cs (1)
169
rules &= ~(SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable);
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
194
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable); // Height is fixed.
System\Windows\Forms\Design\MonthCalendarDesigner.cs (2)
26
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable);
30
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.RightSizeable);
System\Windows\Forms\Design\SelectionRules.cs (1)
67
AllSizeable =
TopSizeable
| BottomSizeable | LeftSizeable | RightSizeable
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
359
if ((_rules & SelectionRules.
TopSizeable
) != 0)
System\Windows\Forms\Design\SelectionUIService.cs (2)
563
rules |= SelectionRules.
TopSizeable
;
1073
if ((_dragRules & SelectionRules.Moveable) == SelectionRules.None && (_dragRules & (SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable)) == SelectionRules.None)
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
428
if ((rules & SelectionRules.
TopSizeable
) != SelectionRules.
TopSizeable
)
System\Windows\Forms\Design\TextBoxBaseDesigner.cs (1)
142
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
29
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System\Windows\Forms\Design\UpDownBaseDesigner.cs (1)
32
rules &= ~(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System.Windows.Forms.Design.Tests (9)
ControlDesignerTests.cs (7)
89
[InlineData(DockStyle.Top, SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.RightSizeable)]
90
[InlineData(DockStyle.Left, SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.BottomSizeable)]
91
[InlineData(DockStyle.Right, SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable | SelectionRules.RightSizeable)]
93
[InlineData(DockStyle.Fill, SelectionRules.Moveable | SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.BottomSizeable)]
308
(typeof(GrabHandleGlyph), SelectionRules.
TopSizeable
| SelectionRules.LeftSizeable),
309
(typeof(GrabHandleGlyph), SelectionRules.
TopSizeable
| SelectionRules.RightSizeable),
315
(typeof(SelectionBorderGlyph), SelectionRules.
TopSizeable
),
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
41
rules.Should().NotHaveFlag(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
45
rules.Should().NotHaveFlag(SelectionRules.
TopSizeable
| SelectionRules.BottomSizeable);