12 references to SnapLine
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (4)
164
lines.Add(new
SnapLine
(SnapLineType.Bottom, loc.Y - 1));
172
lines.Add(new
SnapLine
(SnapLineType.Top, loc.Y));
181
lines.Add(new
SnapLine
(SnapLineType.Right, loc.X - 1));
189
lines.Add(new
SnapLine
(SnapLineType.Left, loc.X));
System\Windows\Forms\Design\ControlCommandSet.cs (3)
480
lines.Add(new
SnapLine
(SnapLineType.Right, pt.X + primaryControl.Width - 1));
488
lines.Add(new
SnapLine
(SnapLineType.Left, pt.X));
501
lines.Add(new
SnapLine
(SnapLineType.Bottom, pt.Y + primaryControl.Height - 1));
System\Windows\Forms\Design\ParentControlDesigner.cs (4)
848
new
SnapLine
(SnapLineType.Left, r.Right),
849
new
SnapLine
(SnapLineType.Right, r.Right),
850
new
SnapLine
(SnapLineType.Bottom, r.Bottom),
851
new
SnapLine
(SnapLineType.Top, r.Bottom)
System.Windows.Forms.Design.Tests (1)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (1)
18
SnapLine snapLine =
new
(SnapLineType.Baseline, DefaultOffset);