10 references to Right
System.Windows.Forms.Design (7)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
181
lines.Add(new SnapLine(SnapLineType.
Right
, loc.X - 1));
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
88
or SnapLineType.
Right
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
235
new(SnapLineType.
Right
, r.Right),
System\Windows\Forms\Design\ControlCommandSet.cs (1)
480
lines.Add(new SnapLine(SnapLineType.
Right
, pt.X + primaryControl.Width - 1));
System\Windows\Forms\Design\ControlDesigner.cs (1)
355
snapLines.Add(new SnapLine(SnapLineType.
Right
, width - 1, SnapLinePriority.Low));
System\Windows\Forms\Design\LabelDesigner.cs (1)
79
if (snapLine is not null && snapLine.SnapLineType == (rtl ? SnapLineType.
Right
: SnapLineType.Left))
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
849
new SnapLine(SnapLineType.
Right
, r.Right),
System.Windows.Forms.Design.Tests (3)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (2)
67
[InlineData(SnapLineType.
Right
, false)]
82
[InlineData(SnapLineType.
Right
, true)]
System\Windows\Forms\Design\ParentControlDesignerTests.cs (1)
45
.And.Contain(sl => sl.SnapLineType == SnapLineType.
Right
);