4 writes to LineType
System.Windows.Forms.Design (4)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (2)
947
LineType
= type
957
LineType
= type
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (2)
35
LineType
= LineType.Standard;
44
LineType
= type;
15 references to LineType
System.Windows.Forms.Design (15)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (7)
345
if (line.
LineType
!= tempLines[j].
LineType
)
822
if (lines[i].
LineType
is LineType.Margin or LineType.Padding)
830
if (lines[i].
LineType
== LineType.Margin)
854
if (lines[i].
LineType
== LineType.Margin)
874
else if (lines[i].
LineType
== LineType.Baseline)
969
if (line.
LineType
== LineType.Padding)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (6)
73
if (l1.
LineType
!= l2.
LineType
)
79
if (l1.
LineType
is not LineType.Standard and not LineType.Baseline)
87
return new Line(l1.X1, Math.Min(l1.Y1, l2.Y1), l1.X2, Math.Max(l1.Y2, l2.Y2), l1.
LineType
);
93
return new Line(Math.Min(l1.X1, l2.X1), l1.Y1, Math.Max(l1.X2, l2.X2), l1.Y2, l1.
LineType
);
100
$"Line, type = {
LineType
}, dims =({X1}, {Y1})->({X2}, {Y2})";
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (2)
123
if (line.
LineType
== DragAssistanceManager.LineType.Standard)
162
else if (line.
LineType
is DragAssistanceManager.LineType.Margin