6 references to MarginTop
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\Behavior\ResizeBehavior.cs (1)
175
lines.Add(new SnapLine(SnapLineType.Horizontal, loc.Y - _primaryControl.Margin.Top, SnapLine.
MarginTop
, SnapLinePriority.Always));
System\Windows\Forms\Design\Behavior\SnapLine.cs (3)
143
(line1.Filter.Equals(
MarginTop
) && (line2.Filter.Equals(MarginBottom) || line2.Filter.Equals(PaddingTop))) ||
144
(line1.Filter.Equals(MarginBottom) && (line2.Filter.Equals(
MarginTop
) || line2.Filter.Equals(PaddingBottom))))
157
(line1.Filter.Equals(PaddingTop) && line2.Filter.Equals(
MarginTop
)) ||
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (1)
240
new(SnapLineType.Horizontal, r.Top - 4, SnapLine.
MarginTop
, SnapLinePriority.Always),
System\Windows\Forms\Design\ControlDesigner.cs (1)
360
snapLines.Add(new SnapLine(SnapLineType.Horizontal, -margin.Top, SnapLine.
MarginTop
, SnapLinePriority.Always));