19 references to LineType
System.Windows.Forms.Design (19)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (11)
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) 928LineType type = LineType.Standard; 932type = snapLine.Filter!.StartsWith(SnapLine.Margin, StringComparison.Ordinal) ? LineType.Margin : LineType.Padding; 938type = LineType.Baseline; 969if (line.LineType == LineType.Padding)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.Line.cs (5)
23public LineType LineType { get; set; } 35LineType = LineType.Standard; 38private Line(int x1, int y1, int x2, int y2, LineType type) 79if (l1.LineType is not LineType.Standard and not LineType.Baseline)
System\Windows\Forms\Design\Behavior\ToolboxItemSnapLineBehavior.cs (3)
123if (line.LineType == DragAssistanceManager.LineType.Standard) 162else if (line.LineType is DragAssistanceManager.LineType.Margin 163or DragAssistanceManager.LineType.Padding)