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