41 references to BottomSizeable
System.Windows.Forms.Design (31)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (3)
45
rules = SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable;
50
rules = SelectionRules.
BottomSizeable
| SelectionRules.LeftSizeable;
72
rules = SelectionRules.
BottomSizeable
;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (5)
121
if ((rules & SelectionRules.
BottomSizeable
) != 0)
162
if ((rules & SelectionRules.
BottomSizeable
) != 0)
556
if ((((_targetResizeRules & SelectionRules.
BottomSizeable
) != 0) || ((_targetResizeRules & SelectionRules.TopSizeable) != 0)) &&
666
if (((_targetResizeRules & SelectionRules.
BottomSizeable
) != 0) &&
667
((resizeRules & SelectionRules.
BottomSizeable
) != 0))
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (2)
49
if ((selRules & SelectionRules.
BottomSizeable
) != 0)
52
rules = SelectionRules.
BottomSizeable
;
System\Windows\Forms\Design\ComboBoxDesigner.cs (1)
116
rules &= ~(SelectionRules.TopSizeable | SelectionRules.
BottomSizeable
);
System\Windows\Forms\Design\ControlCommandSet.cs (5)
499
if ((rules & SelectionRules.
BottomSizeable
) != 0)
551
rules |= SelectionRules.
BottomSizeable
;
556
rules |= SelectionRules.
BottomSizeable
;
572
rules |= SelectionRules.
BottomSizeable
;
578
rules |= SelectionRules.
BottomSizeable
;
System\Windows\Forms\Design\ControlDesigner.cs (5)
254
rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.
BottomSizeable
);
257
rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable);
260
rules &= ~(SelectionRules.Moveable | SelectionRules.LeftSizeable | SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable);
263
rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.
BottomSizeable
);
795
if ((rules & SelectionRules.
BottomSizeable
) != 0)
System\Windows\Forms\Design\DateTimePickerDesigner.cs (1)
43
=> base.SelectionRules & ~(SelectionRules.TopSizeable | SelectionRules.
BottomSizeable
);
System\Windows\Forms\Design\MaskedTextBoxDesigner.cs (1)
194
rules &= ~(SelectionRules.TopSizeable | SelectionRules.
BottomSizeable
); // Height is fixed.
System\Windows\Forms\Design\SelectionRules.cs (1)
67
AllSizeable = TopSizeable |
BottomSizeable
| LeftSizeable | RightSizeable
System\Windows\Forms\Design\SelectionUIHandler.cs (1)
365
if ((_rules & SelectionRules.
BottomSizeable
) != 0)
System\Windows\Forms\Design\SelectionUIService.cs (1)
568
rules |= SelectionRules.
BottomSizeable
;
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
448
if ((rules & SelectionRules.
BottomSizeable
) != SelectionRules.
BottomSizeable
)
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 (10)
ControlDesignerTests.cs (7)
90
[InlineData(DockStyle.Left, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.
BottomSizeable
)]
91
[InlineData(DockStyle.Right, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable)]
92
[InlineData(DockStyle.Bottom, SelectionRules.Moveable | SelectionRules.LeftSizeable | SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable)]
93
[InlineData(DockStyle.Fill, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.RightSizeable | SelectionRules.
BottomSizeable
)]
311
(typeof(GrabHandleGlyph), SelectionRules.
BottomSizeable
| SelectionRules.LeftSizeable),
312
(typeof(GrabHandleGlyph), SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable),
316
(typeof(SelectionBorderGlyph), SelectionRules.
BottomSizeable
),
System\Windows\Forms\Design\MonthCalendarDesignerTests.cs (1)
33
selectionRules.Should().Be(SelectionRules.
BottomSizeable
| SelectionRules.RightSizeable | SelectionRules.Moveable | SelectionRules.Visible);
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
);