43 references to RightSizeable
System.Windows.Forms.Design (31)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (3)
40
rules = SelectionRules.TopSizeable | SelectionRules.
RightSizeable
;
45
rules = SelectionRules.BottomSizeable | SelectionRules.
RightSizeable
;
96
rules = SelectionRules.
RightSizeable
;
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (7)
94
if ((rules & SelectionRules.
RightSizeable
) != 0)
179
if ((rules & SelectionRules.
RightSizeable
) != 0)
561
else if ((((_targetResizeRules & SelectionRules.
RightSizeable
) != 0) || ((_targetResizeRules & SelectionRules.LeftSizeable) != 0)) &&
708
if (((((_targetResizeRules & SelectionRules.
RightSizeable
) != 0) && ((resizeRules & SelectionRules.
RightSizeable
) != 0)) && (!fRTL)) ||
721
if (((((_targetResizeRules & SelectionRules.
RightSizeable
) != 0) && ((resizeRules & SelectionRules.
RightSizeable
) != 0)) && (fRTL)) ||
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (2)
71
if ((selRules & SelectionRules.
RightSizeable
) != 0)
74
rules = SelectionRules.
RightSizeable
;
System\Windows\Forms\Design\ControlCommandSet.cs (5)
478
if ((rules & SelectionRules.
RightSizeable
) != 0)
561
rules |= SelectionRules.
RightSizeable
;
566
rules |= SelectionRules.
RightSizeable
;
584
rules |= SelectionRules.
RightSizeable
;
590
rules |= SelectionRules.
RightSizeable
;
System\Windows\Forms\Design\ControlDesigner.cs (7)
251
rules &= ~(SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.
RightSizeable
);
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);
789
if ((rules & SelectionRules.
RightSizeable
) != 0)
803
if ((rules & SelectionRules.
RightSizeable
) != 0)
814
if ((rules & SelectionRules.
RightSizeable
) != 0)
System\Windows\Forms\Design\MonthCalendarDesigner.cs (1)
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)
376
if ((_rules & SelectionRules.
RightSizeable
) != 0)
System\Windows\Forms\Design\SelectionUIService.cs (1)
553
rules |= SelectionRules.
RightSizeable
;
System\Windows\Forms\Design\SelectionUIService.SelectionUIItem.cs (2)
458
if ((rules & SelectionRules.
RightSizeable
) != SelectionRules.
RightSizeable
)
System\Windows\Forms\Design\TrackBarDesigner.cs (1)
32
rules &= ~(SelectionRules.LeftSizeable | SelectionRules.
RightSizeable
);
System.Windows.Forms.Design.Tests (12)
ControlDesignerTests.cs (7)
89
[InlineData(DockStyle.Top, SelectionRules.Moveable | SelectionRules.TopSizeable | SelectionRules.LeftSizeable | SelectionRules.
RightSizeable
)]
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)]
309
(typeof(GrabHandleGlyph), SelectionRules.TopSizeable | SelectionRules.
RightSizeable
),
312
(typeof(GrabHandleGlyph), SelectionRules.BottomSizeable | SelectionRules.
RightSizeable
),
318
(typeof(SelectionBorderGlyph), SelectionRules.
RightSizeable
),
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\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\TextBoxBaseDesignerTests.cs (1)
67
[InlineData(false, true, SelectionRules.LeftSizeable | SelectionRules.
RightSizeable
)]