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