1 write to SnapLineType
System.Windows.Forms.Design (1)
System\Windows\Forms\Design\Behavior\SnapLine.cs (1)
63SnapLineType = type;
16 references to SnapLineType
System.Windows.Forms.Design (10)
System\Windows\Forms\Design\Behavior\DragAssistanceManager.cs (4)
229if (validTarget && !_targetSnapLineTypes.Contains(snapLine.SnapLineType)) 231_targetSnapLineTypes.Add(snapLine.SnapLineType); 236if (validTarget && !_targetSnapLineTypes.Contains(snapLine.SnapLineType)) 936else if (snapLine.SnapLineType == SnapLineType.Baseline)
System\Windows\Forms\Design\Behavior\SnapLine.cs (5)
79public bool IsHorizontal => SnapLineType is SnapLineType.Top 87public bool IsVertical => SnapLineType is SnapLineType.Left 120if (line1.SnapLineType != line2.SnapLineType) 181return $"SnapLine: {{type = {SnapLineType}, offset = {Offset}, priority = {Priority}, filter = {Filter ?? "<null>"}}}";
System\Windows\Forms\Design\LabelDesigner.cs (1)
81if (snapLine is not null && snapLine.SnapLineType == (rtl ? SnapLineType.Right : SnapLineType.Left))
System.Windows.Forms.Design.Tests (6)
System\Windows\Forms\Design\Behavior\SnapLineTests.cs (4)
20Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 31Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 42Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType); 53Assert.Equal(SnapLineType.Baseline, snapLine.SnapLineType);
System\Windows\Forms\Design\TextBoxBaseDesignerTests.cs (1)
57SnapLine? baselineSnapLine = snapLines.Cast<SnapLine>().FirstOrDefault(sl => sl.SnapLineType == SnapLineType.Baseline);
System\Windows\Forms\Design\UpDownBaseDesignerTests.cs (1)
57SnapLine? baselineSnapLine = snapLines.FirstOrDefault(sl => sl.SnapLineType == SnapLineType.Baseline);