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