21 references to Top
System.Windows.Forms.Design (5)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
172lines.Add(new SnapLine(SnapLineType.Top, loc.Y));
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
79public bool IsHorizontal => SnapLineType is SnapLineType.Top
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
237new(SnapLineType.Top, r.Top),
System\Windows\Forms\Design\ControlDesigner.cs (1)
352snapLines.Add(new SnapLine(SnapLineType.Top, 0, SnapLinePriority.Low));
System\Windows\Forms\Design\ParentControlDesigner.cs (1)
851new SnapLine(SnapLineType.Top, r.Bottom)
System.Windows.Forms.Design.Tests (16)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (15)
62[InlineData(SnapLineType.Top, true)] 77[InlineData(SnapLineType.Top, false)] 124SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, DefaultFilter, DefaultPriority); 133SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, null, DefaultPriority); 134SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, null, SnapLinePriority.Low); 142SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, null, DefaultPriority); 143SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, DefaultFilter, SnapLinePriority.Low); 178SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, snapLine1Filter, DefaultPriority); 179SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, snapLine2Filter, SnapLinePriority.Low); 208SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, snapLine1Filter, DefaultPriority); 209SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, snapLine2Filter, SnapLinePriority.Low); 217SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, "custom filter", DefaultPriority); 218SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, "custom filter", SnapLinePriority.Low); 226SnapLine snapLine1 = new(SnapLineType.Top, DefaultOffset, "custom filter", DefaultPriority); 227SnapLine snapLine2 = new(SnapLineType.Top, DefaultOffset, "another filter", SnapLinePriority.Low);
System\Windows\Forms\Design\ParentControlDesignerTests.cs (1)
42.Contain(sl => sl.SnapLineType == SnapLineType.Top)